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; } } }