Example #1
0
    public void Park(int id)
    {
        var car = cars[id];

        if (!openedRaces.Any(r => r.Value.CheckCarsInRace(car)))
        {
            garage.AddCarInGarage(car);
        }
    }