diff --git a/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs b/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs index 89fbc16..55eb5f1 100644 --- a/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs +++ b/Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs @@ -11,7 +11,6 @@ namespace PolyclinicContracts.ViewModels public int PillsPerDay { get; set; } [DisplayName("Комментарий")] public string Comment { get; set; } = string.Empty; - public int RecipeId { get; set; } public Dictionary CourseDiagnoses { get; set; } = new(); public int Id { get; set; } } diff --git a/Polyclinic/PolyclinicContracts/ViewModels/RecipeViewModel.cs b/Polyclinic/PolyclinicContracts/ViewModels/RecipeViewModel.cs index b22d3b2..3aae688 100644 --- a/Polyclinic/PolyclinicContracts/ViewModels/RecipeViewModel.cs +++ b/Polyclinic/PolyclinicContracts/ViewModels/RecipeViewModel.cs @@ -12,7 +12,7 @@ namespace PolyclinicContracts.ViewModels [DisplayName("Комментарий")] public string Comment { get; set; } = string.Empty; - + public int CourseId { get; set; } public Dictionary RecipeProcedures { get; } = new(); } }