Усложнённая лабораторная №2: Исправление

This commit is contained in:
Сергей Полевой 2023-03-26 01:54:14 +04:00
parent 242d9ab771
commit e59ed7e076

View File

@ -177,9 +177,9 @@ namespace FlowerShopBusinessLogic.BusinessLogics
foreach (var shop in _shopStorage.GetFullList())
{
freeSpace += shop.MaxCountBouquets;
foreach (var doc in shop.ShopBouquets)
foreach (var bouq in shop.ShopBouquets)
{
freeSpace -= doc.Value.Item2;
freeSpace -= bouq.Value.Item2;
}
}