Minhasapov R.H. LabWork02_Hard #10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "LabWork02_Hard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Зачтено с понижением балла(ов)
@ -83,6 +104,67 @@ namespace AutomobilePlantBusinessLogic.BusinessLogics
return true;
}
public bool CheckThenSupplyMany(ICarModel car, int count)
Метод не в том классе
@ -0,0 +94,4 @@
var shopCars = source.Shops.SelectMany(shop => shop.ShopCars.Where(c => c.Value.Item1.Id == car.Id));
foreach (var c in shopCars)
Значение можно получить через LINQ-запрос
Pull request closed