public void AddVehicle(Vehicle vehicleToAdd) { this.vehicles.Add(vehicleToAdd); AddVehicleEvent?.Invoke(vehicleToAdd); }
public void AddVehicle(Vehicle vehicle) { vehicles.Add(vehicle); AddVehicleEvent?.Invoke(vehicle); }