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 NotificationEvent
///
/// Gets all notificationEvents
///
IList GetAllNotificationEvents();
///
/// Gets a notificationEvent by specified Id
///
/// NotificationEvent identifier.
NotificationEvent GetNotificationEventById(int id);
///
/// Gets all notificationEvents to the specified ids
///
IList GetNotificationEventsByIds(int[] ids);
///
/// Insert a notificationEvent
///
/// NotificationEvent.
void InsertNotificationEvent(NotificationEvent notificationEvent);
///
/// Update a notificationEvent
///
/// NotificationEvent.
void UpdateNotificationEvent(NotificationEvent notificationEvent);
///
/// Delete a notificationEvent
///
/// NotificationEvent.
void DeleteNotificationEvent(NotificationEvent notificationEvent);
#endregion
#region NotificationEventType
///
/// Gets all notificationEventTypes
///
IList GetAllNotificationEventTypes();
///
/// Gets a notificationEventType by specified Id
///
/// NotificationEventType identifier.
NotificationEventType GetNotificationEventTypeById(int id);
///
/// Gets all notificationEventTypes to the specified ids
///
IList GetNotificationEventTypesByIds(int[] ids);
///
/// Insert a notificationEventType
///
/// NotificationEventType.
void InsertNotificationEventType(NotificationEventType notificationEventType);
///
/// Update a notificationEventType
///
/// NotificationEventType.
void UpdateNotificationEventType(NotificationEventType notificationEventType);
///
/// Delete a notificationEventType
///
/// NotificationEventType.
void DeleteNotificationEventType(NotificationEventType notificationEventType);
#endregion
}
}