2024-05-04 22:30:27 +04:00
|
|
|
|
using AircraftPlantContracts.BindingModels;
|
|
|
|
|
using AircraftPlantContracts.SearchModels;
|
|
|
|
|
using AircraftPlantContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AircraftPlantContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Интерфейс для описания работы бизнес-логики для писем
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IMessageInfoLogic
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<MessageInfoViewModel>? ReadList(MessageInfoSearchModel? model);
|
|
|
|
|
|
2024-05-06 03:46:17 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение отдельной записи
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
MessageInfoViewModel? ReadElement(MessageInfoSearchModel model);
|
|
|
|
|
|
2024-05-04 22:30:27 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Создание записи
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
bool Create(MessageInfoBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|