Merge branch 'LabWork02_Hard' into LabWork03_Hard
This commit is contained in:
commit
b7b84b1e03
@ -84,7 +84,7 @@ namespace AutomobilePlantBusinessLogic.BusinessLogics
|
|||||||
var car = _carStorage.GetElement(new CarSearchModel() { Id = model.CarId });
|
var car = _carStorage.GetElement(new CarSearchModel() { Id = model.CarId });
|
||||||
if (car == null)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
if (CheckThenSupplyMany(car, model.Count) == false)
|
if (CheckThenSupplyMany(car, model.Count) == false)
|
||||||
|
Loading…
Reference in New Issue
Block a user