Это условие все таки нужно оказалось
This commit is contained in:
@@ -60,6 +60,10 @@ namespace SecuritySystemBusinessLogic.BusinessLogics
|
|||||||
_logger.LogWarning("Status change operation failed");
|
_logger.LogWarning("Status change operation failed");
|
||||||
throw new InvalidOperationException("Текущий статус заказа не может быть переведен в выбранный");
|
throw new InvalidOperationException("Текущий статус заказа не может быть переведен в выбранный");
|
||||||
}
|
}
|
||||||
|
if (element.ImplementerId.HasValue)
|
||||||
|
{
|
||||||
|
model.ImplementerId = element.ImplementerId;
|
||||||
|
}
|
||||||
OrderStatus oldStatus = model.Status;
|
OrderStatus oldStatus = model.Status;
|
||||||
model.Status = status;
|
model.Status = status;
|
||||||
if (model.Status == OrderStatus.Выдан)
|
if (model.Status == OrderStatus.Выдан)
|
||||||
|
|||||||
Reference in New Issue
Block a user