Merge branch 'LabWork03_Hard' into LabWork04_Hard

This commit is contained in:
Safgerd 2023-04-28 16:58:54 +04:00
commit 837b552333

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)