From a16836ba2457ef58c3114f3ce5ae5ce5d4f2914f Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Sat, 27 Apr 2024 13:23:51 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F=D0=BB=20?= =?UTF-8?q?=D1=82=D0=B8=D0=BF=20=D1=81=D0=B2=D1=8F=D0=B7=D0=B8=20=D0=BA?= =?UTF-8?q?=D1=83=D1=80=D1=81=D0=B0=20=D0=B8=20=D1=80=D0=B5=D1=86=D0=B5?= =?UTF-8?q?=D0=BF=D0=B0,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=B5=20recipeid=20=D0=B2=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D1=8C=20=D0=BA=D1=83=D1=80=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicContracts/BindingModels/CourseBindingModel.cs | 2 +- Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs | 2 +- Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Polyclinic/PolyclinicContracts/BindingModels/CourseBindingModel.cs b/Polyclinic/PolyclinicContracts/BindingModels/CourseBindingModel.cs index 611bfe5..a172f23 100644 --- a/Polyclinic/PolyclinicContracts/BindingModels/CourseBindingModel.cs +++ b/Polyclinic/PolyclinicContracts/BindingModels/CourseBindingModel.cs @@ -7,8 +7,8 @@ namespace PolyclinicContracts.BindingModels public int DaysCount { get; set; } public int PillsPerDay { get; set; } public string Comment { get; set; } = string.Empty; + public int RecipeId { get; set; } public Dictionary CourseDiagnosis { get; set; } = new(); - public Dictionary CourseRecipes { get; set; } = new(); public int Id { get; set; } } } diff --git a/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs b/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs index a80cf78..9ecb07a 100644 --- a/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs +++ b/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs @@ -11,8 +11,8 @@ namespace PolyclinicContracts.ViewModels public int PillsPerDay { get; set; } [DisplayName("Комментарий")] public string Comment { get; set; } = string.Empty; + public int RecipeId { get; set; } public Dictionary CourseDiagnosis { get; set; } = new(); - public Dictionary CourseRecipes { get; set; } = new(); public int Id { get; set; } } } diff --git a/Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs b/Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs index f018879..9766f92 100644 --- a/Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs +++ b/Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs @@ -5,7 +5,7 @@ int DaysCount { get; } int PillsPerDay { get; } string Comment { get; } + int RecipeId { get; } Dictionary CourseDiagnosis { get; } - Dictionary CourseRecipes { get; } } }