IMiscService.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 all helpPages without actual content
  48. /// </summary>
  49. IList<HelpPage> GetAllHelpPagesWithoutContent();
  50. /// <summary>
  51. /// Gets a helpPage by specified Id
  52. /// </summary>
  53. /// <param name="id">HelpPage identifier.</param>
  54. HelpPage GetHelpPageById(int id);
  55. /// <summary>
  56. /// Gets all helpPages to the specified ids
  57. /// </summary>
  58. IList<HelpPage> GetHelpPagesByIds(int[] ids);
  59. /// <summary>
  60. /// Insert a helpPage
  61. /// </summary>
  62. /// <param name="helpPage">HelpPage.</param>
  63. void InsertHelpPage(HelpPage helpPage);
  64. /// <summary>
  65. /// Update a helpPage
  66. /// </summary>
  67. /// <param name="helpPage">HelpPage.</param>
  68. void UpdateHelpPage(HelpPage helpPage);
  69. /// <summary>
  70. /// Delete a helpPage
  71. /// </summary>
  72. /// <param name="helpPage">HelpPage.</param>
  73. void DeleteHelpPage(HelpPage helpPage);
  74. #endregion
  75. }
  76. }