From df4b8fbd04c9359c79583ba1d6088881e55754ae Mon Sep 17 00:00:00 2001 From: VictoriaPresnyakova Date: Sat, 1 Apr 2023 20:42:48 +0400 Subject: [PATCH] OrderBindingModel --- JewelryStoreContracts/BindingModels/OrderBindingModel.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JewelryStoreContracts/BindingModels/OrderBindingModel.cs b/JewelryStoreContracts/BindingModels/OrderBindingModel.cs index 37e87a9..77ed89e 100644 --- a/JewelryStoreContracts/BindingModels/OrderBindingModel.cs +++ b/JewelryStoreContracts/BindingModels/OrderBindingModel.cs @@ -12,7 +12,9 @@ namespace JewelryStoreContracts.BindingModels { public int Id { get; set; } public int JewelId { get; set; } - public string JewelName { get; set; } + public int ClientId { get; set; } + + public string JewelName { get; set; } = string.Empty; public int Count { get; set; } public double Sum { get; set; } public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;