diff --git a/FurnitureAssembly/FurnitureAssemblyBusinessLogic/OrderLogic.cs b/FurnitureAssembly/FurnitureAssemblyBusinessLogic/OrderLogic.cs index 350702b..1a3bc38 100644 --- a/FurnitureAssembly/FurnitureAssemblyBusinessLogic/OrderLogic.cs +++ b/FurnitureAssembly/FurnitureAssemblyBusinessLogic/OrderLogic.cs @@ -68,7 +68,6 @@ namespace FurnitureAssemblyBusinessLogic } model.Status = modelNew.Status; model.ClientId = modelNew.ClientId; - model.Id = modelNew.Id; if (!ChangeStatus(model, OrderStatus.Выполняется)) { _logger.LogWarning("Order's status is wrong"); @@ -84,7 +83,6 @@ namespace FurnitureAssemblyBusinessLogic if (modelNew == null) { return false; } - model.Id = modelNew.Id; model.Status = modelNew.Status; model.ClientId = modelNew.ClientId; model.ImplementerId = modelNew.ImplementerId; @@ -105,7 +103,6 @@ namespace FurnitureAssemblyBusinessLogic { return false; } - model.Id = modelNew.Id; model.Status = modelNew.Status; model.ClientId = modelNew.ClientId; model.ImplementerId = modelNew.ImplementerId;