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
{
///
/// Интерфейс для описания работы бизнес-логики для клиентов
///
public interface IClientLogic
{
///
/// Получение списка
///
///
///
List? ReadList(ClientSearchModel? model);
///
/// Получение отдельной записи
///
///
///
ClientViewModel? ReadElement(ClientSearchModel model);
///
/// Создание записи
///
///
///
bool Create(ClientBindingModel model);
///
/// Изменение записи
///
///
///
bool Update(ClientBindingModel model);
///
/// Удаление записи
///
///
///
bool Delete(ClientBindingModel model);
}
}