Merge branch 'LabWork04_Hard' into LabWork05_Hard

This commit is contained in:
Safgerd 2023-04-28 16:59:20 +04:00
commit 7d73c8d6a2

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)