Фикс кода отдачи заказа на выполнение

This commit is contained in:
Никита Потапов 2024-04-22 11:02:50 +04:00
parent 86fa2bf375
commit 9e79e50027

View File

@ -60,8 +60,6 @@ namespace SecuritySystemBusinessLogic.BusinessLogics
_logger.LogWarning("Status change operation failed");
throw new InvalidOperationException("Текущий статус заказа не может быть переведен в выбранный");
}
if (element.ImplementerId.HasValue)
model.ImplementerId = element.ImplementerId;
OrderStatus oldStatus = model.Status;
model.Status = status;
if (model.Status == OrderStatus.Выдан)