using HospitalContracts.BindingModels; using HospitalContracts.SearchModels; using HospitalContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HospitalContracts.BusinessLogicsContracts { /// /// Интерфейс для описания работы бизнес-логики для сущности "Болезнь" /// public interface IDiseaseLogic { /// /// Получение списка /// /// /// List? ReadList(DiseaseSearchModel? model); /// /// Получение отдельной записи /// /// /// DiseaseViewModel? ReadElement(DiseaseSearchModel model); /// /// Создание записи /// /// /// bool Create(DiseaseBindingModel model); /// /// Изменение записи /// /// /// bool Update(DiseaseBindingModel model); /// /// Удаление записи /// /// /// bool Delete(DiseaseBindingModel model); } }