public ProductController(
     ICategoryQueryService categoryService,
     IWebHostEnvironment hostEnvironment,
     IProductCommandService commandService,
     IProductQueryService queryService)
 {
     _categoryService = categoryService;
     _hostEnvironment = hostEnvironment;
     _command         = commandService;
     _query           = queryService;
     _helpers         = new Helpers();
 }
Пример #2
0
 public ArticleApplicationService(ArticleDomainService articleDomainService,
                                  IArticleQueryService articleQueryService,
                                  IIntegrationEventBus integrationEventBus,
                                  ArticleCategoryDomainService articleCategoryDomainService,
                                  ICategoryQueryService categoryQueryService)
 {
     _articleDomainService         = articleDomainService;
     _articleQueryService          = articleQueryService;
     _integrationEventBus          = integrationEventBus;
     _articleCategoryDomainService = articleCategoryDomainService;
     _categoryQueryService         = categoryQueryService;
 }
Пример #3
0
 public HomeController(
     ILogger <HomeController> logger,
     ICustomerQueryService customerQueryService,
     ICategoryQueryService categoryQueryService,
     IProductQueryService productQueryService,
     IOrderQueryService orderQueryService)
 {
     _logger          = logger;
     _categoryService = categoryQueryService;
     _customerService = customerQueryService;
     _orderService    = orderQueryService;
     _productService  = productQueryService;
 }
 public CategoryRootController(ICommandBus bus, ICategoryQueryService categoryQueryService) : base(bus)
 {
     _categoryQueryService = categoryQueryService;
 }
Пример #5
0
 public CategoryBaseController(ICategoryQueryService categoryQueryService)
 {
     _categoryQueryService = categoryQueryService;
 }
Пример #6
0
 public CategoryController(ICategoryCommandService commandService, ICategoryQueryService queryService)
 {
     _command = commandService;
     _query   = queryService;
     _helpers = new Helpers();
 }
Пример #7
0
        private ICategoryQueryService _categoryQueryService;//Q 端

        public CategoryController(ICommandService commandService, IContextService contextService,
                                  ICategoryQueryService categoryQueryService) : base(commandService, contextService)
        {
            _categoryQueryService = categoryQueryService;
        }
Пример #8
0
 public CategoryController(ICategoryQueryService categoryQuery)
 {
     _categoryQuery = categoryQuery;
 }
Пример #9
0
 public CategoryRootWithProductController(ICategoryQueryService categoryQueryService)
 {
     _categoryQueryService = categoryQueryService;
 }
Пример #10
0
 public SubCategoryController(ICategoryQueryService categoryQueryService)
 {
     _categoryQueryService = categoryQueryService;
 }
Пример #11
0
 public CategoryController(ICategoryService categoryService, ICategoryQueryService categoryQueryService, IBookQueryService bookQueryService)
 {
     this._categoryService      = categoryService;
     this._categoryQueryService = categoryQueryService;
     this._bookQueryService     = bookQueryService;
 }