예제 #1
0
 public CarController(ICarService carService, IBrandService brandService,
                      IGearTypeService gearTypeService, IModelService modelService,
                      IUserService userService, UserManager <User> userManager)
 {
     this.carService      = carService;
     this.brandService    = brandService;
     this.gearTypeService = gearTypeService;
     this.modelService    = modelService;
     this.userService     = userService;
     this.userManager     = userManager;
 }
예제 #2
0
 public CarManager(ICarDal carDal, IRentalService rentalService, ICarImageService carImageService, IBrandService brandService, IColorService colorService, ICarCreditScoreService carCreditScoreService, IFuelTypeService fuelTypeService, IGearTypeService gearTypeService)
 {
     _carDal                = carDal;
     _rentalService         = rentalService;
     _carImageService       = carImageService;
     _brandService          = brandService;
     _colorService          = colorService;
     _carCreditScoreService = carCreditScoreService;
     _fuelTypeService       = fuelTypeService;
     _gearTypeService       = gearTypeService;
 }
예제 #3
0
 public AdminController(IFuelTypeService fuelTypeService, IColorTypeService colorTypeService,
                        IBodyTypeService bodyTypeService,
                        IGearTypeService gearTypeService, IModelService modelService, IUserService userService, ICarService carService, IBrandService brandService, IExtraService extraService, IColorService colorService)
 {
     this.brandService     = brandService;
     this.fuelTypeService  = fuelTypeService;
     this.colorTypeService = colorTypeService;
     this.bodyTypeService  = bodyTypeService;
     this.gearTypeService  = gearTypeService;
     this.modelService     = modelService;
     this.userService      = userService;
     this.carService       = carService;
     this.extraService     = extraService;
     this.colorService     = colorService;
 }
예제 #4
0
 public CarController(ICarService carService, IEditCarService editCarService, IBrandService brandService,
                      IBodyTypeService bodyTypeService, IColorTypeService colorTypeService,
                      IFuelTypeService fuelTypeService, IGearTypeService gearTypeService,
                      IModelService modelService, IColorService colorService, IUserService userService, UserManager <User> userManager)
 {
     this.carService       = carService;
     this.editCarService   = editCarService;
     this.brandService     = brandService;
     this.bodyTypeService  = bodyTypeService;
     this.colorTypeService = colorTypeService;
     this.fuelTypeService  = fuelTypeService;
     this.gearTypeService  = gearTypeService;
     this.modelService     = modelService;
     this.colorService     = colorService;
     this.userService      = userService;
     this.userManager      = userManager;
 }
 public GearTypesController(IGearTypeService gearTypeService)
 {
     _gearTypeService = gearTypeService;
 }