diff --git a/Course/Contracts/BindingModels/MachineBindingModel.cs b/Course/Contracts/BindingModels/MachineBindingModel.cs index b00b669..14cc6b8 100644 --- a/Course/Contracts/BindingModels/MachineBindingModel.cs +++ b/Course/Contracts/BindingModels/MachineBindingModel.cs @@ -10,7 +10,9 @@ namespace Contracts.BindingModels public class MachineBindingModel : IMachineModel { public int Id { get; set; } + public int UserId { get; set; } public string Title { get; set; } public string Country { get; set; } + public Dictionary MachineWorker { get; set; } = new(); } } diff --git a/Course/Contracts/BindingModels/WorkshopBindingModel.cs b/Course/Contracts/BindingModels/WorkshopBindingModel.cs index 4e567f2..24395cc 100644 --- a/Course/Contracts/BindingModels/WorkshopBindingModel.cs +++ b/Course/Contracts/BindingModels/WorkshopBindingModel.cs @@ -13,5 +13,6 @@ namespace Contracts.BindingModels public string Title { get; set; } public string Address { get; set; } public string Director { get; set; } + public Dictionary WorkshopWorker { get; set; } = new(); } }