Ejemplo n.º 1
0
 public VehicleController(IVehicleService vehicleService,
                          IVehicleModelService vehicleModelService,
                          IVehicleClassTypeService vehicleClassTypeService,
                          IColorTypeService colorTypeService,
                          IFuelTypeService fuelTypeService,
                          ITireTypeService tireTypeService,
                          ITransmissionTypeService transmissionTypeService,
                          IVehicleImageService vehicleImageService,
                          IVehicleRentalPriceService vehicleRentalPriceService,
                          IVehicleRentalPriceCalculatorService vehicleRentalPriceCalculatorService,
                          IRentVehicleService rentVehicleService)
 {
     VehicleService                      = vehicleService;
     VehicleModelService                 = vehicleModelService;
     VehicleClassTypeService             = vehicleClassTypeService;
     ColorTypeService                    = colorTypeService;
     FuelTypeService                     = fuelTypeService;
     TireTypeService                     = tireTypeService;
     TransmissionTypeService             = transmissionTypeService;
     VehicleRentalPriceService           = vehicleRentalPriceService;
     VehicleImageService                 = vehicleImageService;
     VehicleRentalPriceCalculatorService = vehicleRentalPriceCalculatorService;
     RentVehicleService                  = rentVehicleService;
 }
Ejemplo n.º 2
0
 public VehicleRentalPriceCalculatorService(IVehicleRentalPriceService vehicleRentalPriceService,
                                            IRentVehicleService rentVehicleService)
 {
     VehicleRentalPriceService = vehicleRentalPriceService;
     RentVehicleService        = rentVehicleService;
 }