Усложнённая лабораторная №2: Исправление
This commit is contained in:
parent
242d9ab771
commit
e59ed7e076
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user