IMiscService.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. }
  42. }