Пример #1
0
 public GetProductCategoryByIdQueryHandler(IProductCategoryQueryService productCategoryQueryService)
 {
     this.productCategoryQueryService = productCategoryQueryService;
 }
 public GetAvailableProductCategoriesQueryHandler(IProductCategoryQueryService productCategoryQueryService, IHttpContextAccessor contextAccessor, ICache cache)
 {
     this.productCategoryQueryService = productCategoryQueryService;
     this.contextAccessor             = contextAccessor;
     this.cache = cache;
 }