Compare commits

...

6 Commits

Author SHA1 Message Date
837b552333 Merge branch 'LabWork03_Hard' into LabWork04_Hard 2023-04-28 16:58:54 +04:00
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
d75699c182 LabWork05_Hard: гитигнор 2023-04-28 16:52:32 +04:00
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

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

View File

@ -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)