Compare commits

..

4 Commits

Author SHA1 Message Date
b7b84b1e03 Merge branch 'LabWork02_Hard' into LabWork03_Hard 2023-04-28 16:58:29 +04:00
05c44b91b1 gitignore 2023-04-28 16:57:34 +04:00
dddbba87da LabWork02_Hard: Фикс 2023-04-28 16:56:34 +04:00
4d74e6bb13 gitignore 2023-04-28 16:55:52 +04:00
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -398,3 +398,4 @@ FodyWeavers.xsd
# JetBrains Rider
*.sln.iml
/AutomobilePlant/ImplementationExtensions

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)