public CarImagesController(ICarImageService service) { _service = service; }
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; }
public CarImagesController(ICarImageService entityService) { _entityService = entityService; }
public ImagesController(ICarImageService carImageService, IWebHostEnvironment webHostEnvironment) { _webHostEnvironment = webHostEnvironment; _carImageService = carImageService; }
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; }
public CarImagesController(ICarImageService carImageService, IWebHostEnvironment environment, FileHelper fileHelper) { _carImageService = carImageService; _environment = environment; _fileHelper = fileHelper; }
public CarImagesManager(ICarImageService service) { _service = service; }
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; }
public CarImageController(ICarImageService CarImageService, IWebHostEnvironment environment) { _CarImageService = CarImageService; _environment = environment; }
public CarManager(ICarDal carDal, ICarImageService carImageService) { _carDal = carDal; _carImageService = carImageService; }
//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; }