Esempio n. 1
0
 public void Participate(int carId, int raceId)
 {
     if (Data.cars.ContainsKey(carId))
     {
         ICar  car  = Data.cars[carId];
         IRace race = Data.races[raceId];
         race.AddParticipiant(car);
     }
 }