From 979829d54eed8eb1108814b40907251663f91dcb Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Mon, 29 Apr 2024 22:01:58 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81=D1=8B=20=D0=B1?= =?UTF-8?q?=D0=B8=D0=B7=D0=BD=D0=B5=D1=81=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA?= =?UTF-8?q?=D0=B8,=20=D0=BD=D0=B5=D0=BE=D0=B1=D1=85=D0=BE=D0=B4=D0=B8?= =?UTF-8?q?=D0=BC=D0=BE=20=D0=B8=D1=85=20=D1=80=D0=B5=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessLogics/.gitkeep | 0 .../BusinessLogics/CourseLogic.cs | 35 +++++++++++++++++++ .../BusinessLogics/DiagnoseLogic.cs | 35 +++++++++++++++++++ .../BusinessLogics/MedicamentLogic.cs | 35 +++++++++++++++++++ .../BusinessLogics/ProcedureLogic.cs | 35 +++++++++++++++++++ .../BusinessLogics/RecipeLogic.cs | 35 +++++++++++++++++++ .../BusinessLogics/SymptomLogic.cs | 35 +++++++++++++++++++ .../BusinessLogics/UserLogic.cs | 35 +++++++++++++++++++ .../PolyclinicBusinessLogic.csproj | 2 +- 9 files changed, 246 insertions(+), 1 deletion(-) delete mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/.gitkeep create mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/CourseLogic.cs create mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/DiagnoseLogic.cs create mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs create mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/ProcedureLogic.cs create mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/RecipeLogic.cs create mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/SymptomLogic.cs create mode 100644 Polyclinic/PolyclinicBusinessLogic/BusinessLogics/UserLogic.cs diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/.gitkeep b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/CourseLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/CourseLogic.cs new file mode 100644 index 0000000..090a167 --- /dev/null +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/CourseLogic.cs @@ -0,0 +1,35 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.BusinessLogicsContracts; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicBusinessLogic.BusinessLogics +{ + public class CourseLogic : ICourseLogic + { + public bool Create(CourseBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(CourseBindingModel model) + { + throw new NotImplementedException(); + } + + public CourseViewModel? ReadElement(CourseSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(CourseSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Update(CourseBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/DiagnoseLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/DiagnoseLogic.cs new file mode 100644 index 0000000..43eda36 --- /dev/null +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/DiagnoseLogic.cs @@ -0,0 +1,35 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.BusinessLogicsContracts; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicBusinessLogic.BusinessLogics +{ + public class DiagnoseLogic : IDiagnoseLogic + { + public bool Create(DiagnoseBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(DiagnoseBindingModel model) + { + throw new NotImplementedException(); + } + + public DiagnoseViewModel? ReadElement(DiagnoseSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(DiagnoseSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Update(DiagnoseBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs new file mode 100644 index 0000000..175fed3 --- /dev/null +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/MedicamentLogic.cs @@ -0,0 +1,35 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.BusinessLogicsContracts; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicBusinessLogic.BusinessLogics +{ + public class MedicamentLogic : IMedicamentLogic + { + public bool Create(MedicamentBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(MedicamentBindingModel model) + { + throw new NotImplementedException(); + } + + public MedicamentViewModel? ReadElement(MedicamentSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(MedicamentSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Update(MedicamentBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/ProcedureLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/ProcedureLogic.cs new file mode 100644 index 0000000..c4f386d --- /dev/null +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/ProcedureLogic.cs @@ -0,0 +1,35 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.BusinessLogicsContracts; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicBusinessLogic.BusinessLogics +{ + public class ProcedureLogic : IProcedureLogic + { + public bool Create(ProcedureBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(ProcedureBindingModel model) + { + throw new NotImplementedException(); + } + + public ProcedureViewModel? ReadElement(ProcedureSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(ProcedureSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Update(ProcedureBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/RecipeLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/RecipeLogic.cs new file mode 100644 index 0000000..da383ab --- /dev/null +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/RecipeLogic.cs @@ -0,0 +1,35 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.BusinessLogicsContracts; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicBusinessLogic.BusinessLogics +{ + public class RecipeLogic : IRecipeLogic + { + public bool Create(RecipeBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(RecipeBindingModel model) + { + throw new NotImplementedException(); + } + + public RecipeViewModel? ReadElement(RecipeSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(RecipeSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Update(RecipeBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/SymptomLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/SymptomLogic.cs new file mode 100644 index 0000000..fb6d9b6 --- /dev/null +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/SymptomLogic.cs @@ -0,0 +1,35 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.BusinessLogicsContracts; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicBusinessLogic.BusinessLogics +{ + public class SymptomLogic : ISymptomLogic + { + public bool Create(SymptomBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(SymptomBindingModel model) + { + throw new NotImplementedException(); + } + + public SymptomViewModel? ReadElement(SymptomSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(SymptomSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Update(SymptomBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/UserLogic.cs b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/UserLogic.cs new file mode 100644 index 0000000..bf5f1dc --- /dev/null +++ b/Polyclinic/PolyclinicBusinessLogic/BusinessLogics/UserLogic.cs @@ -0,0 +1,35 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.BusinessLogicsContracts; +using PolyclinicContracts.SearchModels; +using PolyclinicContracts.ViewModels; + +namespace PolyclinicBusinessLogic.BusinessLogics +{ + public class UserLogic : IUserLogic + { + public bool Create(UserBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(UserBindingModel model) + { + throw new NotImplementedException(); + } + + public UserViewModel? ReadElement(UserSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(UserSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Update(UserBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/Polyclinic/PolyclinicBusinessLogic/PolyclinicBusinessLogic.csproj b/Polyclinic/PolyclinicBusinessLogic/PolyclinicBusinessLogic.csproj index e6ee218..82ea6fe 100644 --- a/Polyclinic/PolyclinicBusinessLogic/PolyclinicBusinessLogic.csproj +++ b/Polyclinic/PolyclinicBusinessLogic/PolyclinicBusinessLogic.csproj @@ -7,7 +7,7 @@ - +