Поправил view модели

This commit is contained in:
Никита Потапов 2024-04-30 22:42:51 +04:00
parent b3101ea169
commit 33ce1eb14b
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ namespace PolyclinicContracts.ViewModels
public int PillsPerDay { get; set; } public int PillsPerDay { get; set; }
[DisplayName("Комментарий")] [DisplayName("Комментарий")]
public string Comment { get; set; } = string.Empty; public string Comment { get; set; } = string.Empty;
public int RecipeId { get; set; }
public Dictionary<int, IDiagnoseModel> CourseDiagnoses { get; set; } = new(); public Dictionary<int, IDiagnoseModel> CourseDiagnoses { get; set; } = new();
public int Id { get; set; } public int Id { get; set; }
} }

View File

@ -12,7 +12,7 @@ namespace PolyclinicContracts.ViewModels
[DisplayName("Комментарий")] [DisplayName("Комментарий")]
public string Comment { get; set; } = string.Empty; public string Comment { get; set; } = string.Empty;
public int CourseId { get; set; }
public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new(); public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new();
} }
} }