using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GreenTree.Nachtragsmanagement.Core.Domain.Misc; namespace GreenTree.Nachtragsmanagement.Services.Misc { public interface IMiscService { #region MailNotification /// /// Gets all mailNotifications /// IList GetAllMailNotifications(); /// /// Gets a mailNotification by specified Id /// /// MailNotification identifier. MailNotification GetMailNotificationById(int id); /// /// Gets all mailNotifications to the specified ids /// IList GetMailNotificationsByIds(int[] ids); /// /// Insert a mailNotification /// /// MailNotification. void InsertMailNotification(MailNotification mailNotification); /// /// Update a mailNotification /// /// MailNotification. void UpdateMailNotification(MailNotification mailNotification); /// /// Delete a mailNotification /// /// MailNotification. void DeleteMailNotification(MailNotification mailNotification); #endregion #region HelpPages /// /// Gets all helpPages /// IList GetAllHelpPages(); /// /// Gets all helpPages without actual content /// IList GetAllHelpPagesWithoutContent(); /// /// Gets a helpPage by specified Id /// /// HelpPage identifier. HelpPage GetHelpPageById(int id); /// /// Gets all helpPages to the specified ids /// IList GetHelpPagesByIds(int[] ids); /// /// Insert a helpPage /// /// HelpPage. void InsertHelpPage(HelpPage helpPage); /// /// Update a helpPage /// /// HelpPage. void UpdateHelpPage(HelpPage helpPage); /// /// Delete a helpPage /// /// HelpPage. void DeleteHelpPage(HelpPage helpPage); #endregion } }