PIbd-22_CourseWork_Hospital.../Polyclinic/HospitalContracts/BusinessLogicsContracts/IDrugLogic.cs

16 lines
474 B
C#

using HospitalContracts.BindingModels;
using HospitalContracts.SearchModels;
using HospitalContracts.ViewModels;
namespace HospitalContracts.BusinessLogicsContracts
{
public interface IDrugLogic
{
List<DrugViewModel>? ReadList(DrugSearchModel? model);
DrugViewModel? ReadElement(DrugSearchModel model);
bool Create(DrugBindingModel model);
bool Update(DrugBindingModel model);
bool Delete(DrugBindingModel model);
}
}