53 lines
1.6 KiB
C#
53 lines
1.6 KiB
C#
|
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 IImplementerLogic
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Получение списка
|
|||
|
/// </summary>
|
|||
|
/// <param name="model"></param>
|
|||
|
/// <returns></returns>
|
|||
|
List<ImplementerViewModel>? ReadList(ImplementerSearchModel? model);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Получение отдельной записи
|
|||
|
/// </summary>
|
|||
|
/// <param name="model"></param>
|
|||
|
/// <returns></returns>
|
|||
|
ImplementerViewModel? ReadElement(ImplementerSearchModel? model);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Создание записи
|
|||
|
/// </summary>
|
|||
|
/// <param name="model"></param>
|
|||
|
/// <returns></returns>
|
|||
|
bool Create(ImplementerBindingModel? model);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Изменение записи
|
|||
|
/// </summary>
|
|||
|
/// <param name="model"></param>
|
|||
|
/// <returns></returns>
|
|||
|
bool Update(ImplementerBindingModel? model);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Удаление записи
|
|||
|
/// </summary>
|
|||
|
/// <param name="model"></param>
|
|||
|
/// <returns></returns>
|
|||
|
bool Delete(ImplementerBindingModel? model);
|
|||
|
}
|
|||
|
}
|