Beispiel #1
0
        public Vehicle AddVehicle(int raceId, Vehicle model)
        {
            VehicleModel vehicle    = MapVehicleToVehicleModel(model);
            VehicleModel newVehicle = _raceRepository.AddVehicle(raceId, vehicle);

            return(MapVehicleModelTOVehicle(newVehicle));
        }