Пример #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;
 }
Пример #2
0
 public ModelTypesController(IAdminModelTypesService modelTypesService)
 {
     this.modelTypesService = modelTypesService;
 }