コード例 #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;
 }
コード例 #2
0
 public CarsController(IMakesService makesService, ITransmissionsService transmissionsService, ICarsService carsService, IMapper mapper)
 {
     this.transmissionsService = transmissionsService;
     this.makesService         = makesService;
     this.mapper      = mapper;
     this.carsService = carsService;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 public HelperController(IMakesService makesService, IModelsService modelsService, IGenerationsService generationsService, ICarsService carsService)
 {
     this.makesService       = makesService;
     this.modelsService      = modelsService;
     this.generationsService = generationsService;
     this.carsService        = carsService;
 }
コード例 #5
0
 public CarsController(
     IMakesService makesService,
     ICarsService carsService,
     UserManager <ApplicationUser> userManager)
 {
     this.makesService = makesService;
     this.carsService  = carsService;
     this.userManager  = userManager;
 }
コード例 #6
0
 public DataController(IMakesService makesService, IModelsService modelsService,
                       IGenerationsService generationsService, ICarsService carsService, IImagesService imagesService)
 {
     this.makesService       = makesService;
     this.modelsService      = modelsService;
     this.generationsService = generationsService;
     this.carsService        = carsService;
     this.imagesService      = imagesService;
 }
コード例 #7
0
 public UserCarsController(UserManager <NeedForCarsUser> userManager,
                           ICarsService carsService, IUserCarsService userCarsService, IImagesService imagesService,
                           IMakesService makesService, IModelsService modelsService, IGenerationsService generationsService)
 {
     this.userManager        = userManager;
     this.carsService        = carsService;
     this.userCarsService    = userCarsService;
     this.imagesService      = imagesService;
     this.makesService       = makesService;
     this.modelsService      = modelsService;
     this.generationsService = generationsService;
 }
コード例 #8
0
 public CarsController(
     ICarService carService,
     IModelsService modelService,
     IMakesService makeService,
     ICarImageService carImageService,
     UserManager <ApplicationUser> userManager,
     Cloudinary cloudinary)
 {
     this.carService      = carService;
     this.modelService    = modelService;
     this.makeService     = makeService;
     this.carImageService = carImageService;
     this.userManager     = userManager;
     this.cloudinary      = cloudinary;
 }
コード例 #9
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;
 }
コード例 #10
0
 public RepairController(
     IRepairService repairService,
     ICarService carservice,
     IRepairImageService repairImageService,
     ICommentsService commentService,
     IMakesService makesService,
     IModelsService modelsService,
     UserManager <ApplicationUser> userManager,
     Cloudinary cloudinary)
 {
     this.repairService      = repairService;
     this.carservice         = carservice;
     this.repairImageService = repairImageService;
     this.commentService     = commentService;
     this.makesService       = makesService;
     this.modelsService      = modelsService;
     this.userManager        = userManager;
     this.cloudinary         = cloudinary;
 }
コード例 #11
0
 public PostsController(
     IPostsService postsService,
     ICitiesService citiesService,
     ICategoriesService categoriesService,
     IMakesService makesService,
     IModelsService modelsService,
     IVehicleCategoriesService vehicleCategoriesService,
     IColorService colorService,
     UserManager <ApplicationUser> userManager,
     ICloudinaryService cloudinaryService,
     ICommentsService commentsService)
 {
     this.postsService             = postsService;
     this.citiesService            = citiesService;
     this.categoriesService        = categoriesService;
     this.makesService             = makesService;
     this.modelsService            = modelsService;
     this.vehicleCategoriesService = vehicleCategoriesService;
     this.colorService             = colorService;
     this.userManager       = userManager;
     this.cloudinaryService = cloudinaryService;
     this.commentsService   = commentsService;
 }
コード例 #12
0
 public ModelsController(IModelsService modelsService, IMakesService makesService)
 {
     this.modelsService = modelsService;
     this.makesService  = makesService;
 }
コード例 #13
0
 public CarModelsController(IMakesService makesService)
 {
     this.makesService = makesService;
 }
コード例 #14
0
 public HomeController(ICarsService carsService, IMakesService makesService, ITransmissionsService transmissionsService)
 {
     this.makesService         = makesService;
     this.transmissionsService = transmissionsService;
     this.carsService          = carsService;
 }
コード例 #15
0
 public PostsService(IDeletableEntityRepository <Post> postsRepo, IMakesService makesService)
 {
     this.postsRepo    = postsRepo;
     this.makesService = makesService;
 }
コード例 #16
0
 public AutopartsController(IAutopartsService autopartsService, IMakesService makesService, ICategoriesService categoryService)
 {
     this.autopartsService  = autopartsService;
     this.makesService      = makesService;
     this.categoriesService = categoryService;
 }
コード例 #17
0
 public MakesController(IMakesService makesService, IImagesService imagesService)
 {
     this.makesService  = makesService;
     this.imagesService = imagesService;
 }
コード例 #18
0
 public ModelsService(NeedForCarsDbContext context, IMakesService makesService)
 {
     this.context      = context;
     this.makesService = makesService;
 }