public GetProductCategoryByIdQueryHandler(IProductCategoryQueryService productCategoryQueryService) { this.productCategoryQueryService = productCategoryQueryService; }
public GetAvailableProductCategoriesQueryHandler(IProductCategoryQueryService productCategoryQueryService, IHttpContextAccessor contextAccessor, ICache cache) { this.productCategoryQueryService = productCategoryQueryService; this.contextAccessor = contextAccessor; this.cache = cache; }