IMiscService.cs 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using GreenTree.Nachtragsmanagement.Core.Domain.Misc;
  7. namespace GreenTree.Nachtragsmanagement.Services.Misc
  8. {
  9. public interface IMiscService
  10. {
  11. #region MailNotification
  12. /// <summary>
  13. /// Gets all mailNotifications
  14. /// </summary>
  15. IList<MailNotification> GetAllMailNotifications();
  16. /// <summary>
  17. /// Gets a mailNotification by specified Id
  18. /// </summary>
  19. /// <param name="id">MailNotification identifier.</param>
  20. MailNotification GetMailNotificationById(int id);
  21. /// <summary>
  22. /// Gets all mailNotifications to the specified ids
  23. /// </summary>
  24. IList<MailNotification> GetMailNotificationsByIds(int[] ids);
  25. /// <summary>
  26. /// Insert a mailNotification
  27. /// </summary>
  28. /// <param name="mailNotification">MailNotification.</param>
  29. void InsertMailNotification(MailNotification mailNotification);
  30. /// <summary>
  31. /// Update a mailNotification
  32. /// </summary>
  33. /// <param name="mailNotification">MailNotification.</param>
  34. void UpdateMailNotification(MailNotification mailNotification);
  35. /// <summary>
  36. /// Delete a mailNotification
  37. /// </summary>
  38. /// <param name="mailNotification">MailNotification.</param>
  39. void DeleteMailNotification(MailNotification mailNotification);
  40. #endregion
  41. #region HelpPages
  42. /// <summary>
  43. /// Gets all helpPages
  44. /// </summary>
  45. IList<HelpPage> GetAllHelpPages();
  46. /// <summary>
  47. /// Gets a helpPage by specified Id
  48. /// </summary>
  49. /// <param name="id">HelpPage identifier.</param>
  50. HelpPage GetHelpPageById(int id);
  51. /// <summary>
  52. /// Gets all helpPages to the specified ids
  53. /// </summary>
  54. IList<HelpPage> GetHelpPagesByIds(int[] ids);
  55. /// <summary>
  56. /// Insert a helpPage
  57. /// </summary>
  58. /// <param name="helpPage">HelpPage.</param>
  59. void InsertHelpPage(HelpPage helpPage);
  60. /// <summary>
  61. /// Update a helpPage
  62. /// </summary>
  63. /// <param name="helpPage">HelpPage.</param>
  64. void UpdateHelpPage(HelpPage helpPage);
  65. /// <summary>
  66. /// Delete a helpPage
  67. /// </summary>
  68. /// <param name="helpPage">HelpPage.</param>
  69. void DeleteHelpPage(HelpPage helpPage);
  70. #endregion
  71. }
  72. }