Beispiel #1
0
 public void AddCar(Car car, CarPark carPark)
 {
     carPark.AddCarToPark(car, carPark);
 }
Beispiel #2
0
 public void AddCarToPark(Car carToAdd, CarPark carPark)
 {
     carPark.TotalCars.Add(carToAdd);
 }