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
    }
}
