2C правочка

This commit is contained in:
Timourka 2024-02-26 01:06:09 +04:00
parent b5f426bbf4
commit 054c0232bf

View File

@ -136,7 +136,7 @@ namespace AutomobilePlantBusinessLogic.BusinessLogics
throw new InvalidOperationException("Текущий статус заказа не может быть переведен в выбранный");
}
if (status == OrderStatus.Готов)
if (status == OrderStatus.Выдан)
{
var car = _carStorage.GetElement(new CarSearchModel() { Id = model.CarId });
if (car == null)