Exemplo n.º 1
0
 public CarsController(
     IAdminCarsService adminCarsService,
     ICookiesService cookiesService,
     ICacheService cacheService,
     ICloudinaryService cloudinaryService,
     ICarsService carsService,
     IAdminEnginesService adminEnginesService,
     IAdminFuelTypesService adminFuelTypesService,
     IAdminModelTypesService adminModelTypesService,
     IAdminSeriesService adminSeriesService,
     IAdminOptionsService adminOptionsService)
 {
     this.adminCarsService       = adminCarsService;
     this.cookiesService         = cookiesService;
     this.cacheService           = cacheService;
     this.cloudinaryService      = cloudinaryService;
     this.carsService            = carsService;
     this.adminEnginesService    = adminEnginesService;
     this.adminFuelTypesService  = adminFuelTypesService;
     this.adminModelTypesService = adminModelTypesService;
     this.adminSeriesService     = adminSeriesService;
     this.adminOptionsService    = adminOptionsService;
 }
Exemplo n.º 2
0
 public SeriesController(IAdminSeriesService seriesService)
 {
     this.seriesService = seriesService;
 }