| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- 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
- /// <summary>
- /// Gets all mailNotifications
- /// </summary>
- IList<MailNotification> GetAllMailNotifications();
- /// <summary>
- /// Gets a mailNotification by specified Id
- /// </summary>
- /// <param name="id">MailNotification identifier.</param>
- MailNotification GetMailNotificationById(int id);
- /// <summary>
- /// Gets all mailNotifications to the specified ids
- /// </summary>
- IList<MailNotification> GetMailNotificationsByIds(int[] ids);
- /// <summary>
- /// Insert a mailNotification
- /// </summary>
- /// <param name="mailNotification">MailNotification.</param>
- void InsertMailNotification(MailNotification mailNotification);
- /// <summary>
- /// Update a mailNotification
- /// </summary>
- /// <param name="mailNotification">MailNotification.</param>
- void UpdateMailNotification(MailNotification mailNotification);
- /// <summary>
- /// Delete a mailNotification
- /// </summary>
- /// <param name="mailNotification">MailNotification.</param>
- void DeleteMailNotification(MailNotification mailNotification);
- #endregion
- #region NotificationEvent
- /// <summary>
- /// Gets all notificationEvents
- /// </summary>
- IList<NotificationEvent> GetAllNotificationEvents();
- /// <summary>
- /// Gets a notificationEvent by specified Id
- /// </summary>
- /// <param name="id">NotificationEvent identifier.</param>
- NotificationEvent GetNotificationEventById(int id);
- /// <summary>
- /// Gets all notificationEvents to the specified ids
- /// </summary>
- IList<NotificationEvent> GetNotificationEventsByIds(int[] ids);
- /// <summary>
- /// Insert a notificationEvent
- /// </summary>
- /// <param name="notificationEvent">NotificationEvent.</param>
- void InsertNotificationEvent(NotificationEvent notificationEvent);
- /// <summary>
- /// Update a notificationEvent
- /// </summary>
- /// <param name="notificationEvent">NotificationEvent.</param>
- void UpdateNotificationEvent(NotificationEvent notificationEvent);
- /// <summary>
- /// Delete a notificationEvent
- /// </summary>
- /// <param name="notificationEvent">NotificationEvent.</param>
- void DeleteNotificationEvent(NotificationEvent notificationEvent);
- #endregion
- #region NotificationEventType
- /// <summary>
- /// Gets all notificationEventTypes
- /// </summary>
- IList<NotificationEventType> GetAllNotificationEventTypes();
- /// <summary>
- /// Gets a notificationEventType by specified Id
- /// </summary>
- /// <param name="id">NotificationEventType identifier.</param>
- NotificationEventType GetNotificationEventTypeById(int id);
- /// <summary>
- /// Gets all notificationEventTypes to the specified ids
- /// </summary>
- IList<NotificationEventType> GetNotificationEventTypesByIds(int[] ids);
- /// <summary>
- /// Insert a notificationEventType
- /// </summary>
- /// <param name="notificationEventType">NotificationEventType.</param>
- void InsertNotificationEventType(NotificationEventType notificationEventType);
- /// <summary>
- /// Update a notificationEventType
- /// </summary>
- /// <param name="notificationEventType">NotificationEventType.</param>
- void UpdateNotificationEventType(NotificationEventType notificationEventType);
- /// <summary>
- /// Delete a notificationEventType
- /// </summary>
- /// <param name="notificationEventType">NotificationEventType.</param>
- void DeleteNotificationEventType(NotificationEventType notificationEventType);
- #endregion
- }
- }
|