laba2Complicated #11

Merged
TImourka merged 13 commits from laba2Complicated into laba3Complicated 2024-03-10 15:55:42 +04:00
Showing only changes of commit 054c0232bf - Show all commits

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)