//private AuthService authService; public FileController(IHostingEnvironment hostingEnvironment, IProductResponsitory iproductResponsitory, IImageProductResponsitory iimageProductResponsitory) { this._hostingEnvironment = hostingEnvironment; this._iproductResponsitory = iproductResponsitory; this._iimageProductResponsitory = iimageProductResponsitory; //authService }
public ProductsController(IProductResponsitory iproductResponsitory, IImageProductResponsitory iimageProductResponsitory) { this._iproductResponsitory = iproductResponsitory; this._iimageProductResponsitory = iimageProductResponsitory; }
public ProductsController(IProductResponsitory repo) { _repo = repo; }