public ProductGalleryImageController(ProductGalleryImageRepository productGalleryImageRepository , IHostingEnvironment environment , FileConfig fileConfig) { _fileConfig = fileConfig; _environment = environment; _productGalleryImageRepository = productGalleryImageRepository; }
public ProductsController (ProductRepository productRepository , ProductGalleryImageRepository productGalleryImageRepository , FileConfig fileConfig , IHostingEnvironment environment , ProductTypeRepository productTypeRepository) { _productGalleryImageRepository = productGalleryImageRepository; _productRepository = productRepository; _fileConfig = fileConfig; _environment = environment; _productTypeRepository = productTypeRepository; }