From e6dc60cd936c89cb0f5a78b38b05916a3a1ce753 Mon Sep 17 00:00:00 2001 From: Safgerd Date: Sun, 26 Mar 2023 03:33:15 +0400 Subject: [PATCH] =?UTF-8?q?LabWork02=5FHard:=20=D0=A4=D0=B8=D0=BA=D1=81?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AutomobilePlantBusinessLogic/BusinessLogics/ShopLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/ShopLogic.cs b/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/ShopLogic.cs index c07a7e3..4cdf6ad 100644 --- a/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/ShopLogic.cs +++ b/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/ShopLogic.cs @@ -188,7 +188,7 @@ namespace AutomobilePlantBusinessLogic.BusinessLogics if (model.MaxCountCars < 0) { - throw new InvalidOperationException("Магазин с отрицательным количеством максимального количества документов!"); + throw new InvalidOperationException("Магазин с отрицательным количеством максимального количества авто!"); } _logger.LogInformation("Shop. Name: {0}, Address: {1}, ID: {2}", model.Name, model.Address, model.Id);