public AccountController(IAllProducts products, IProductsCategory categories, AppDBContent content, IWebHostEnvironment environment) { db = content; _products = products; _categories = categories; _environment = environment; }
public ProductsController(IAllProducts productRep, IProductsCategory categoryRep, ServiceUser serviceUser, FilterService filterService, IComment commentRep) { this.productRep = productRep; this.categoryRep = categoryRep; this.serviceUser = serviceUser; this.filterService = filterService; this.commentRep = commentRep; }
public AdminProductController(IAllProducts productRep, IProductsCategory categoryRep, ServiceUser serviceUser, FilterService filterService, IManufacturer manufacturerRep, FileService fileService) { this.productRep = productRep; this.categoryRep = categoryRep; this.serviceUser = serviceUser; this.filterService = filterService; this.manufacturerRep = manufacturerRep; this.fileService = fileService; }
public ProductsController(IAllProducts iAllProducts, IProductsCategory iProductsCat) { _allProducts = iAllProducts; _allCategories = iProductsCat; }
public ProductsController(IAllProducts iAllProducts, IProductsCategory iProductsCategory) { _AllProducts = iAllProducts; _IProductsCategory = iProductsCategory; }
public AdminCategoryController(IProductsCategory categoryRep) { this.categoryRep = categoryRep; }
public ProductsController(IProducts products, IProductsCategory productsCategory) { _products = products; _productsCategory = productsCategory; }
public HomeController(IAllProducts allProducts, IProductsCategory allCategories, IWebHostEnvironment appEnvironment) { _allProducts = allProducts; _allCategories = allCategories; _appEnvironment = appEnvironment; }
public ProductController(IAllProducts allProducts, IProductsCategory productCategory) { _allProducts = allProducts; _productCategories = productCategory; }