LabWork02_Hard: Фикс

This commit is contained in:
Safgerd 2023-04-28 16:56:34 +04:00
parent 4d74e6bb13
commit dddbba87da

View File

@ -84,7 +84,7 @@ namespace AutomobilePlantBusinessLogic.BusinessLogics
var car = _carStorage.GetElement(new CarSearchModel() { Id = model.CarId });
if (car == null)
{
_logger.LogWarning("Status update to " + newStatus.ToString() + " operation failed. Document not found.");
_logger.LogWarning("Status update to " + newStatus.ToString() + " operation failed. Car not found.");
return false;
}
if (CheckThenSupplyMany(car, model.Count) == false)