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 IPlaneLogic
{
///
/// Получение списка
///
///
///
List? ReadList(PlaneSearchModel? model);
///
/// Получение отдельной записи
///
///
///
PlaneViewModel? ReadElement(PlaneSearchModel model);
///
/// Создание записи
///
///
///
bool Create(PlaneBindingModel model);
///
/// Изменение записи
///
///
///
bool Update(PlaneBindingModel model);
///
/// Удаление записи
///
///
///
bool Delete(PlaneBindingModel model);
}
}