public HomeController(IProductRepository productRepository, IProductTagRepository productTagRepository, IServiceProvider serviceProvider, IProductReViewRepository productReViewRepository) { this.productRepository = productRepository; this.productTagRepository = productTagRepository; this.serviceProvider = serviceProvider; this.productReViewRepository = productReViewRepository; }
public HomeController(IProductRepository productRepository, IProductTagRepository productTagRepository, IServiceProvider serviceProvider, IProductReViewRepository productReViewRepository, IShoppingCartRepository shoppingCart, ICartRepository cartRepository, IConfiguration configuration, ICategoryRepository categoryRepository, IBlogCategoryRepository blogCategoryRepository, IMemoryCache cache, IProductTypeRepository productTypeRepository, IMaterialRepository materialRepository) { this._productRepository = productRepository; this._productTagRepository = productTagRepository; this._serviceProvider = serviceProvider; this._productReViewRepository = productReViewRepository; _shoppingCart = shoppingCart; _cartRepository = cartRepository; Configuration = configuration; _categoryRepository = categoryRepository; _blogCategoryRepository = blogCategoryRepository; _cache = cache; _productTypeRepository = productTypeRepository; _materialRepository = materialRepository; }
public ProductController(IProductRepository productRepository, IProductTypeRepository productTypeRepository, IMaterialRepository materialRepository, ICategoryRepository categoryRepository, IWebHostEnvironment webHostEnvironment, IConfiguration config, IProductImageRepository productImageRepository, ITagRepository tagRepository, IProductTagRepository productTagRepository, IAccountRepository accountRepository, IProductReViewRepository productReViewRepository) { _config = config; _webHostEnvironment = webHostEnvironment; _productTypeRepository = productTypeRepository; _productRepository = productRepository; _materialRepository = materialRepository; _categoryRepository = categoryRepository; _productTagRepository = productTagRepository; this.accountRepository = accountRepository; this.productReViewRepository = productReViewRepository; _productImageRepository = productImageRepository; _tagRepository = tagRepository; }