From b9e024917a12a8713b210df16906c0a8e4a714fb Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Thu, 18 Apr 2024 00:15:01 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0.=20=D0=A1?= =?UTF-8?q?=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D1=8B=20=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicContracts.csproj | 1 - .../StoragesContracts/.gitkeep | 0 .../StoragesContracts/ICourseStorage.cs | 16 ++++++++++++++++ .../StoragesContracts/IDiagnosisStorage.cs | 16 ++++++++++++++++ .../StoragesContracts/IExecutorStorage.cs | 16 ++++++++++++++++ .../StoragesContracts/ISymptomStorage.cs | 16 ++++++++++++++++ 6 files changed, 64 insertions(+), 1 deletion(-) delete mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/.gitkeep create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/ICourseStorage.cs create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/IDiagnosisStorage.cs create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/IExecutorStorage.cs create mode 100644 Polyclinic/PolyclinicContracts/StoragesContracts/ISymptomStorage.cs diff --git a/Polyclinic/PolyclinicContracts/PolyclinicContracts.csproj b/Polyclinic/PolyclinicContracts/PolyclinicContracts.csproj index 7432a2a..6a2d93a 100644 --- a/Polyclinic/PolyclinicContracts/PolyclinicContracts.csproj +++ b/Polyclinic/PolyclinicContracts/PolyclinicContracts.csproj @@ -7,7 +7,6 @@ - diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/.gitkeep b/Polyclinic/PolyclinicContracts/StoragesContracts/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/ICourseStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/ICourseStorage.cs new file mode 100644 index 0000000..5a8ddb3 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/ICourseStorage.cs @@ -0,0 +1,16 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicContracts.StoragesContracts +{ + public interface ICourseStorage + { + List GetFullList(); + List GetFilteredList(CourseSearchModel model); + CourseViewModel? GetElement(CourseSearchModel model); + CourseViewModel? Insert(CourseBindingModel model); + CourseViewModel? Update(CourseBindingModel model); + CourseViewModel? Delete(CourseBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/IDiagnosisStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/IDiagnosisStorage.cs new file mode 100644 index 0000000..9c1015b --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/IDiagnosisStorage.cs @@ -0,0 +1,16 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicContracts.StoragesContracts +{ + public interface IDiagnosisStorage + { + List GetFullList(); + List GetFilteredList(DiagnosisSearchModel model); + DiagnosisViewModel? GetElement(DiagnosisSearchModel model); + DiagnosisViewModel? Insert(DiagnosisBindingModel model); + DiagnosisViewModel? Update(DiagnosisBindingModel model); + DiagnosisViewModel? Delete(DiagnosisBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/IExecutorStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/IExecutorStorage.cs new file mode 100644 index 0000000..331af33 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/IExecutorStorage.cs @@ -0,0 +1,16 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicContracts.StoragesContracts +{ + public interface IExecutorStorage + { + List GetFullList(); + List GetFilteredList(ExecutorSearchModel model); + ExecutorViewModel? GetElement(ExecutorSearchModel model); + ExecutorViewModel? Insert(ExecutorBindingModel model); + ExecutorViewModel? Update(ExecutorBindingModel model); + ExecutorViewModel? Delete(ExecutorBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/StoragesContracts/ISymptomStorage.cs b/Polyclinic/PolyclinicContracts/StoragesContracts/ISymptomStorage.cs new file mode 100644 index 0000000..c0d4e69 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/StoragesContracts/ISymptomStorage.cs @@ -0,0 +1,16 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicContracts.StoragesContracts +{ + public interface ISymptomStorage + { + List GetFullList(); + List GetFilteredList(SymptomSearchModel model); + SymptomViewModel? GetElement(SymptomSearchModel model); + SymptomViewModel? Insert(SymptomBindingModel model); + SymptomViewModel? Update(SymptomBindingModel model); + SymptomViewModel? Delete(SymptomBindingModel model); + } +}