public ProductImageController(IRepository <ProductImageVM> repository, IHostingEnvironment hostingEnvironment, MyApp.Repo.DAL.ProductImages productImage, ProductMGRepository productMGRepository) { this.repository = repository; this.hostingEnvironment = hostingEnvironment; this.productImage = productImage; this.productMGRepository = productMGRepository; }