Поправил биндинг модели

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

View File

@ -7,7 +7,6 @@ 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<int, IDiagnoseModel> CourseDiagnoses { get; set; } = new();
public int Id { get; set; }
}

View File

@ -5,6 +5,7 @@ namespace PolyclinicContracts.BindingModels
public class RecipeBindingModel : IRecipeModel
{
public int Id { get; set; }
public int CourseId { get; set; }
public int ProceduresCount { get; set; }
public string Comment { get; set; } = string.Empty;
public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new();