public CategoryController(ICategoryPageService categoryPageService, IIndexPageService indexPageService, ICategoryService categoryService, IWebHostEnvironment hostingEnvironment) { _categoryPageService = categoryPageService; _indexPageService = indexPageService; _categoryService = categoryService; _hostingEnvironment = hostingEnvironment; }
public ProductController(IProductPageService productPageService, IIndexPageService indexPageService, IWebHostEnvironment hostingEnvironment, ICategoryPageService categoryPageService) { _productPageService = productPageService; _indexPageService = indexPageService; _hostingEnvironment = hostingEnvironment; _categoryPageService = categoryPageService; }
public IndexModel( IIndexPageService indexPageService, IUsersStorageService usersStorageService, IPermissionsService permissionsService, IUnitOfWork unitOfWork, ILogger <IndexModel> logger) { _indexPageService = indexPageService; _usersStorageService = usersStorageService; _permissionsService = permissionsService; _uow = unitOfWork; _logger = logger; }
public IndexModel(IIndexPageService indexPageService, ICartComponentService cartComponentService) { _indexPageService = indexPageService ?? throw new ArgumentNullException(nameof(indexPageService)); _cartComponentService = cartComponentService ?? throw new ArgumentNullException(nameof(cartComponentService)); }
public IndexModel(IIndexPageService indexPageService) { _indexPageService = indexPageService ?? throw new ArgumentNullException(nameof(indexPageService)); }
public IndexModel(IIndexPageService indexPageService) { this._indexPageService = indexPageService; }