public void Park(int id) { var car = cars[id]; if (!openedRaces.Any(r => r.Value.CheckCarsInRace(car))) { garage.AddCarInGarage(car); } }