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