Esempio n. 1
0
 public CarImagesController(ICarImageService service)
 {
     _service = service;
 }
Esempio n. 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;
 }
Esempio n. 5
0
 public CarImagesController(ICarImageService entityService)
 {
     _entityService = entityService;
 }
Esempio n. 6
0
 public ImagesController(ICarImageService carImageService, IWebHostEnvironment webHostEnvironment)
 {
     _webHostEnvironment = webHostEnvironment;
     _carImageService    = carImageService;
 }
Esempio n. 7
0
 public CarManager(ICarDal car, ICarImageService carImage)
 {
     _car      = car;
     _carImage = carImage;
 }
 public CarImagesController(ICarImageService carImageService, IWebHostEnvironment env)
 {
     _carImageService = carImageService;
     _env             = env;
 }
Esempio n. 9
0
 public CarImagesController(ICarImageService carImageService, IWebHostEnvironment webHostEnv)
 {
     _carImageService = carImageService;
     _webHostEnv      = webHostEnv;
     DefaultImagePath = Path.Combine(_webHostEnv.WebRootPath, @"Upload");
 }
 public ImageUploadsController(ICarImageService carImageService)
 {
     _carImageService = carImageService;
 }
Esempio n. 11
0
 public CarImagesController(ICarImageService carImageService, IWebHostEnvironment environment, FileHelper fileHelper)
 {
     _carImageService = carImageService;
     _environment     = environment;
     _fileHelper      = fileHelper;
 }
Esempio n. 12
0
 public CarImagesManager(ICarImageService service)
 {
     _service = service;
 }
Esempio n. 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;
 }
Esempio n. 15
0
 public CarImagesController(ICarImageService imageService)
 {
     _imageService = imageService;
 }
 public CarImagesController(ICarImageService carImageService, IMapper mapper)
 {
     _carImageService = carImageService;
     _mapper          = mapper;
 }
 public CarImagesController(ICarImageService carImageService)
 {
     _carImageService = carImageService;
 }
Esempio n. 18
0
 public CarImageController(ICarImageService CarImageService, IWebHostEnvironment environment)
 {
     _CarImageService = CarImageService;
     _environment     = environment;
 }
Esempio n. 19
0
 public CarManager(ICarDal carDal, ICarImageService carImageService)
 {
     _carDal          = carDal;
     _carImageService = carImageService;
 }
Esempio n. 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;
        }