diff --git a/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IMedicamentLogic.cs b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IMedicamentLogic.cs new file mode 100644 index 0000000..60597f5 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IMedicamentLogic.cs @@ -0,0 +1,20 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PolyclinicContracts.BusinessLogicsContracts +{ + public interface IMedicamentLogic + { + List? ReadList(MedicamentSearchModel? model); + MedicamentView? ReadElement(MedicamentSearchModel model); + bool Create(MedicamentBindingModel model); + bool Update(MedicamentBindingModel model); + bool Delete(MedicamentBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IProcedureLogic.cs b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IProcedureLogic.cs new file mode 100644 index 0000000..693ed79 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IProcedureLogic.cs @@ -0,0 +1,20 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PolyclinicContracts.BusinessLogicsContracts +{ + public interface IProcedureLogic + { + List? ReadList(ProcedureSearchModel? model); + ProcedureView? ReadElement(ProcedureSearchModel model); + bool Create(ProcedureBindingModel model); + bool Update(ProcedureBindingModel model); + bool Delete(ProcedureBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IRecipeLogic.cs b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IRecipeLogic.cs new file mode 100644 index 0000000..a417ab5 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/IRecipeLogic.cs @@ -0,0 +1,20 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PolyclinicContracts.BusinessLogicsContracts +{ + public interface IRecipeLogic + { + List? ReadList(RecipeSearchModel? model); + RecipeView? ReadElement(RecipeSearchModel model); + bool Create(RecipeBindingModel model); + bool Update(RecipeBindingModel model); + bool Delete(RecipeBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/ISuretorLogic.cs b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/ISuretorLogic.cs new file mode 100644 index 0000000..50047f0 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/ISuretorLogic.cs @@ -0,0 +1,20 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PolyclinicContracts.BusinessLogicsContracts +{ + public interface ISuretorLogic + { + List? ReadList(SuretorSearchModel? model); + SuretorView? ReadElement(SuretorSearchModel model); + bool Create(SuretorBindingModel model); + bool Update(SuretorBindingModel model); + bool Delete(SuretorBindingModel model); + } +}