From b69af8770ffae1edf6ce9e193d4f8c12de451a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9?= Date: Sat, 29 Apr 2023 12:41:29 +0400 Subject: [PATCH] fix --- .../FoodOrdersBusinessLogic/BusinessLogics/ReportLogic.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FoodOrders/FoodOrdersBusinessLogic/BusinessLogics/ReportLogic.cs b/FoodOrders/FoodOrdersBusinessLogic/BusinessLogics/ReportLogic.cs index ce268cc..c0f0fa1 100644 --- a/FoodOrders/FoodOrdersBusinessLogic/BusinessLogics/ReportLogic.cs +++ b/FoodOrders/FoodOrdersBusinessLogic/BusinessLogics/ReportLogic.cs @@ -86,10 +86,10 @@ namespace FoodOrdersBusinessLogic.BusinessLogics ListDish = new(), TotalCount = 0 }; - foreach (var sushi in shop.ShopDishes) + foreach (var dish in shop.ShopDishes) { - record.ListDish.Add(new(sushi.Value.Item1.DishName, sushi.Value.Item2)); - record.TotalCount += sushi.Value.Item2; + record.ListDish.Add(new(dish.Value.Item1.DishName, dish.Value.Item2)); + record.TotalCount += dish.Value.Item2; } list.Add(record); }