Borschevskaya A.A. Lab Work 7 Hard #15

Closed
pgirl1 wants to merge 14 commits from lab7_hard into lab6_hard
Showing only changes of commit dfe887a7e9 - Show all commits

View File

@ -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;