Example #1
0
 public CarImagesController(ICarImageService service)
 {
     _service = service;
 }
Example #2
0
 public CarImagesController(IFileHelper file, ICarImageService carImageService, IWebHostEnvironment webHostEnvironment)
 {
     _webHostEnvironment = webHostEnvironment;
     _carImageService    = carImageService;
     _file = file;
 }
 public CarController(ICarService carService, IBrandService brandService, IColorService colorService, ICarImageService carImageService)
 {
     _carService      = carService;
     _brandService    = brandService;
     _colorService    = colorService;
     _carImageService = carImageService;
 }
 // private int sayac = 0;
 //private string imagePath = _webHostEnvironment.WebRootPath + @"\CarImages\";
 //private string fileFolderPath = AppDomain.CurrentDomain + @"\CarImages\";
 public CarPhotoFileHelper(IWebHostEnvironment webHostEnvironment, ICarImageService carImageService, ICarService carService)
 {
     _webHostEnvironment = webHostEnvironment;
     _carImageService    = carImageService;
     _carService         = carService;
 }
Example #5
0
 public CarImagesController(ICarImageService entityService)
 {
     _entityService = entityService;
 }
Example #6
0
 public ImagesController(ICarImageService carImageService, IWebHostEnvironment webHostEnvironment)
 {
     _webHostEnvironment = webHostEnvironment;
     _carImageService    = carImageService;
 }
Example #7
0
 public CarManager(ICarDal car, ICarImageService carImage)
 {
     _car      = car;
     _carImage = carImage;
 }
 public CarImagesController(ICarImageService carImageService, IWebHostEnvironment env)
 {
     _carImageService = carImageService;
     _env             = env;
 }
 public CarImagesController(ICarImageService carImageService, IWebHostEnvironment webHostEnv)
 {
     _carImageService = carImageService;
     _webHostEnv      = webHostEnv;
     DefaultImagePath = Path.Combine(_webHostEnv.WebRootPath, @"Upload");
 }
 public ImageUploadsController(ICarImageService carImageService)
 {
     _carImageService = carImageService;
 }
Example #11
0
 public CarImagesController(ICarImageService carImageService, IWebHostEnvironment environment, FileHelper fileHelper)
 {
     _carImageService = carImageService;
     _environment     = environment;
     _fileHelper      = fileHelper;
 }
Example #12
0
 public CarImagesManager(ICarImageService service)
 {
     _service = service;
 }
Example #13
0
 public CarManager(ICarDal carDal, IRentalService rentalService, ICarImageService carImageService)
 {
     _carDal          = carDal;
     _rentalService   = rentalService;
     _carImageService = carImageService;
 }
 public CarImagesController(IFileProcess fileProcess, ICarImageService carImageService)
 {
     this.fileProcess     = fileProcess;
     this.carImageService = carImageService;
 }
 public CarImagesController(ICarImageService imageService)
 {
     _imageService = imageService;
 }
 public CarImagesController(ICarImageService carImageService, IMapper mapper)
 {
     _carImageService = carImageService;
     _mapper          = mapper;
 }
 public CarImagesController(ICarImageService carImageService)
 {
     _carImageService = carImageService;
 }
Example #18
0
 public CarImageController(ICarImageService CarImageService, IWebHostEnvironment environment)
 {
     _CarImageService = CarImageService;
     _environment     = environment;
 }
Example #19
0
 public CarManager(ICarDal carDal, ICarImageService carImageService)
 {
     _carDal          = carDal;
     _carImageService = carImageService;
 }
Example #20
0
        //Dosyayı uygulamınızda bir dizine yüklemek istiyoruz, webroot yolunu almak için IHostingEnvironment'i injection ediyoruz.

        public CarImagesController(ICarImageService imageService, IWebHostEnvironment environment)
        {
            _imageService = imageService;
            _environment  = environment;
        }