From 0fcb797dadaca09240e44bf8b216582d259c7219 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Sat, 3 Jun 2023 17:45:18 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JewelryStoreBusinessLogic/BusinessLogics/StoreLogic.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JewelryStore/JewelryStoreBusinessLogic/BusinessLogics/StoreLogic.cs b/JewelryStore/JewelryStoreBusinessLogic/BusinessLogics/StoreLogic.cs index 9c69300..08101df 100644 --- a/JewelryStore/JewelryStoreBusinessLogic/BusinessLogics/StoreLogic.cs +++ b/JewelryStore/JewelryStoreBusinessLogic/BusinessLogics/StoreLogic.cs @@ -50,12 +50,12 @@ namespace JewelryStoreBusinessLogic.BusinessLogics if (element.Jewels.TryGetValue(jewel.Id, out var pair)) { element.Jewels[jewel.Id] = (jewel, count + pair.Item2); - _logger.LogInformation("AddJewelInStore. Has been added {quantity} {jewel} in {StoreName}", count, jewel.JewelName, element.StoreName); + _logger.LogInformation("AddJewelInStore. Has been added {count} {jewel} in {StoreName}", count, jewel.JewelName, element.StoreName); } else { element.Jewels[jewel.Id] = (jewel, count); - _logger.LogInformation("AddPastryInShop. Has been added {quantity} new Jewel {jewel} in {StoreName}", count, jewel.JewelName, element.StoreName); + _logger.LogInformation("AddJewelInStore. Has been added {count} new Jewel {jewel} in {StoreName}", count, jewel.JewelName, element.StoreName); } _storeStorage.Update(new()