PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IMedicamentLogic.cs

16 lines
530 B
C#

using PolyclinicContracts.BindingModels;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicContracts.BusinessLogicsContracts
{
public interface IMedicamentLogic
{
List<MedicamentViewModel>? ReadList(MedicamentSearchModel? model);
MedicamentViewModel? ReadElement(MedicamentSearchModel model);
bool Create(MedicamentBindingModel model);
bool Update(MedicamentBindingModel model);
bool Delete(MedicamentBindingModel model);
}
}