fix
This commit is contained in:
parent
fa2dcd684f
commit
b69af8770f
@ -86,10 +86,10 @@ namespace FoodOrdersBusinessLogic.BusinessLogics
|
|||||||
ListDish = new(),
|
ListDish = new(),
|
||||||
TotalCount = 0
|
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.ListDish.Add(new(dish.Value.Item1.DishName, dish.Value.Item2));
|
||||||
record.TotalCount += sushi.Value.Item2;
|
record.TotalCount += dish.Value.Item2;
|
||||||
}
|
}
|
||||||
list.Add(record);
|
list.Add(record);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user