From 88df65662cd1131fe3bb21f498ddb1aa5e2e0b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=91=D0=B0=D0=BA=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D1=81=D0=BA=D0=B0=D1=8F?= Date: Wed, 24 Apr 2024 18:33:34 +0400 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D1=8B=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84?= =?UTF-8?q?=D0=B5=D0=B9=D1=81=D1=8B=20=D1=85=D1=80=D0=B0=D0=BD=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=D1=89=D0=B0=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StoragesContracts/IMedicamentStorage.cs | 21 +++++++++++++++++++ .../StoragesContracts/IProcedureStorage.cs | 21 +++++++++++++++++++ .../StoragesContracts/IRecipeStorage.cs | 21 +++++++++++++++++++ .../StoragesContracts/ISuretorStorage.cs | 21 +++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/IMedicamentStorage.cs create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/IProcedureStorage.cs create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/IRecipeStorage.cs create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/ISuretorStorage.cs diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/IMedicamentStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/IMedicamentStorage.cs new file mode 100644 index 0000000..aa82958 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/IMedicamentStorage.cs @@ -0,0 +1,21 @@ +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.StoragesContracts +{ + public interface IMedicamentStorage + { + List GetFullList(); + List GetFilteredList(MedicamentSearchModel model); + MedicamentView? GetElement(MedicamentSearchModel model); + MedicamentView? Insert(MedicamentBindingModel model); + MedicamentView? Update(MedicamentBindingModel model); + MedicamentView? Delete(MedicamentBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/IProcedureStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/IProcedureStorage.cs new file mode 100644 index 0000000..ed51fac --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/IProcedureStorage.cs @@ -0,0 +1,21 @@ +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.StoragesContracts +{ + public interface IProcedureStorage + { + List GetFullList(); + List GetFilteredList(ProcedureSearchModel model); + ProcedureView? GetElement(ProcedureSearchModel model); + ProcedureView? Insert(ProcedureBindingModel model); + ProcedureView? Update(ProcedureBindingModel model); + ProcedureView? Delete(ProcedureBindingModel model); + } +} \ No newline at end of file diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/IRecipeStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/IRecipeStorage.cs new file mode 100644 index 0000000..e92b394 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/IRecipeStorage.cs @@ -0,0 +1,21 @@ +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.StoragesContracts +{ + public interface IRecipeStorage + { + List GetFullList(); + List GetFilteredList(RecipeSearchModel model); + RecipeView? GetElement(RecipeSearchModel model); + RecipeView? Insert(RecipeBindingModel model); + RecipeView? Update(RecipeBindingModel model); + RecipeView? Delete(RecipeBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/ISuretorStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/ISuretorStorage.cs new file mode 100644 index 0000000..c7ed61c --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/ISuretorStorage.cs @@ -0,0 +1,21 @@ +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.StoragesContracts +{ + public interface ISuretorStorage + { + List GetFullList(); + List GetFilteredList(SuretorSearchModel model); + SuretorView? GetElement(SuretorSearchModel model); + SuretorView? Insert(SuretorBindingModel model); + SuretorView? Update(SuretorBindingModel model); + SuretorView? Delete(SuretorBindingModel model); + } +}