Пример #1
0
 public SalesController(
     IWebHostEnvironment webHostEnvironment,
     ICarsService carsService,
     ISalesService salesService,
     ICategoriesService categoriesService,
     IMakesService makesService,
     IModelsService modelsService,
     IFuelTypesService fuelTypesService,
     IEuroStandartsService euroStandartsService,
     IGearboxesService gearboxesService,
     IColorsService colorsService,
     ICountriesService countriessService,
     ICitiesService citiesService,
     UserManager <ApplicationUser> userManager,
     ICaptchaValidator captchaValidator)
 {
     this.webHostEnvironment   = webHostEnvironment;
     this.carsService          = carsService;
     this.salesService         = salesService;
     this.categoriesService    = categoriesService;
     this.makesService         = makesService;
     this.modelsService        = modelsService;
     this.fuelTypesService     = fuelTypesService;
     this.euroStandartsService = euroStandartsService;
     this.gearboxesService     = gearboxesService;
     this.colorsService        = colorsService;
     this.countriesService     = countriessService;
     this.citiesService        = citiesService;
     this.userManager          = userManager;
     this.captchaValidator     = captchaValidator;
 }
 public SearchSalesController(
     ISalesService salesService,
     ICategoriesService categoriesService,
     IMakesService makesService,
     IModelsService modelsService,
     IFuelTypesService fuelTypesService,
     IEuroStandartsService euroStandartsService,
     IGearboxesService gearboxesService,
     IColorsService colorsService,
     ICountriesService countriessService,
     ICitiesService citiesService,
     UserManager <ApplicationUser> userManager)
 {
     this.salesService         = salesService;
     this.categoriesService    = categoriesService;
     this.makesService         = makesService;
     this.modelsService        = modelsService;
     this.fuelTypesService     = fuelTypesService;
     this.euroStandartsService = euroStandartsService;
     this.gearboxesService     = gearboxesService;
     this.colorsService        = colorsService;
     this.countriesService     = countriessService;
     this.citiesService        = citiesService;
     this.userManager          = userManager;
 }
Пример #3
0
 public CarsService(
     IDeletableEntityRepository <Car> carsRepository,
     ICategoriesService categoriesService,
     IMakesService makesService,
     IFuelTypesService fuelTypesService,
     IEuroStandartsService euroStandartsService,
     IGearboxesService gearboxesService,
     IColorsService colorsService)
 {
     this.carsRepository       = carsRepository;
     this.categoriesService    = categoriesService;
     this.makesService         = makesService;
     this.fuelTypesService     = fuelTypesService;
     this.euroStandartsService = euroStandartsService;
     this.gearboxesService     = gearboxesService;
     this.colorsService        = colorsService;
 }