public CabinetServiceFacade(IUserToProductQueryService userToProductQueryService, ProductTypeServiceFacade productTypeServiceFacade,
                             IProductQueryService productQueryService)
 {
     _userToProductQueryService = userToProductQueryService;
     _productTypeServiceFacade  = productTypeServiceFacade;
     _productQueryService       = productQueryService;
 }
 public ProductInStockController(ILogger <ProductController> logger,
                                 IProductQueryService productQueryService,
                                 IMediator mediator)
 {
     _logger   = logger;
     _mediator = mediator;
 }
Beispiel #3
0
 public DiscountController(ICommandBus commandBus, IDiscountQueryService discountQueryService, IProductQueryService productQueryService, IStoreQueryService storeQueryService)
 {
     _commandBus           = commandBus;
     _discountQueryService = discountQueryService;
     _productQueryService  = productQueryService;
     _storeQueryService    = storeQueryService;
 }
Beispiel #4
0
 public ProductControl(ProductModel product)
 {
     this.InitializeComponent();
     productCommandService = new ProductCommandService();
     productQueryService   = new ProductQueryService();
     AttachedProduct       = product;
     mainGrid.DataContext  = AttachedProduct;
 }
Beispiel #5
0
 public CartServiceFacade(IProductQueryService productQueryService, ProductTypeServiceFacade productTypeServiceFacade,
                          IPriceCalculationService priceCalculationService, IUserToProductService userToProductService)
 {
     _productTypeServiceFacade = productTypeServiceFacade;
     _productQueryService      = productQueryService;
     _priceCalculationService  = priceCalculationService;
     _userToProductService     = userToProductService;
 }
Beispiel #6
0
 public ProductController(IProductQueryService queryService,
                          IProductService service,
                          IAuthorizeValidator authorizeValidator)
 {
     _queryService       = queryService;
     _service            = service;
     _authorizeValidator = authorizeValidator;
 }
Beispiel #7
0
 public ProductController(
     ILogger <ProductController> logger,
     IMediator mediator,
     IProductQueryService productQueryService)
 {
     _logger              = logger;
     _mediator            = mediator;
     _productQueryService = productQueryService;
 }
Beispiel #8
0
 public OrderService(IUnitOfWork uow, IOrderRepository orderRepository, IOrderStatusService orderStatusService, IStoreTableQueryService storeTableQueryService, IProductQueryService productQueryService, IPaymentService paymentService)
 {
     _uow                    = uow;
     _orderRepository        = orderRepository;
     _orderStatusService     = orderStatusService;
     _storeTableQueryService = storeTableQueryService;
     _productQueryService    = productQueryService;
     _paymentService         = paymentService;
 }
 public ProductOrderQueryService(
     IProductQueryService productQueryService,
     IProductCategoryDiscountQueryService productCategoryDiscountQueryService,
     IProductOrderHelper productOrderHelper)
 {
     this.productQueryService = productQueryService;
     this.productCategoryDiscountQueryService = productCategoryDiscountQueryService;
     this.productOrderHelper = productOrderHelper;
 }
Beispiel #10
0
 public ProductController(
     ILogger <DefaultController> logger,
     IProductQueryService productQueryService,
     IMediator mediator)
 {
     _logger = logger;
     this.productQueryService = productQueryService;
     this.mediator            = mediator;
 }
Beispiel #11
0
        public ProductsList()
        {
            searchText  = string.Empty;
            DataContext = this;

            this.InitializeComponent();

            productService = new ProductQueryService();
            LoadComboBoxes();
        }
 public OrdersController(
     IProductQueryService productService,
     ICustomerQueryService customerService,
     IOrderCommandService commandService,
     IOrderQueryService queryService)
 {
     _customerService = customerService;
     __productService = productService;
     _command         = commandService;
     _query           = queryService;
 }
 public ProductController(
     ICategoryQueryService categoryService,
     IWebHostEnvironment hostEnvironment,
     IProductCommandService commandService,
     IProductQueryService queryService)
 {
     _categoryService = categoryService;
     _hostEnvironment = hostEnvironment;
     _command         = commandService;
     _query           = queryService;
     _helpers         = new Helpers();
 }
 public HomeController(
     ILogger <HomeController> logger,
     ICustomerQueryService customerQueryService,
     ICategoryQueryService categoryQueryService,
     IProductQueryService productQueryService,
     IOrderQueryService orderQueryService)
 {
     _logger          = logger;
     _categoryService = categoryQueryService;
     _customerService = customerQueryService;
     _orderService    = orderQueryService;
     _productService  = productQueryService;
 }
 public HomeController(ICouponQueryService couponqueryService,
                       IProductQueryService productQueryService)
 {
     try
     {
         _couponqueryService  = couponqueryService;
         _productQueryService = productQueryService;
         if (ProductTypeNames == null || !ProductTypeNames.Any())
         {
             lock (_lockObject)
             {
                 if (ProductTypeNames == null)
                 {
                     ProductTypeNames = _couponqueryService.FindAllProduceType();
                 }
             }
         }
     }
     catch
     {
     }
 }
 public DiscountCodesController(IDiscountCodeService discountCodeService, ITourQueryService tourQueryService, IProductQueryService productQueryService)
 {
     _discountCodeService = discountCodeService;
       _tourQueryService = tourQueryService;
       _productQueryService = productQueryService;
 }
 public ProductVariantsController(IProductQueryService productQueryService)
 {
     _productQueryService = productQueryService;
 }
 public ProductController(IService <Products, int> service, IProductQueryService queryService)
     : base(service)
 {
     _queryService = queryService;
 }
Beispiel #19
0
 public ProductController(
     IProductQueryService productQueryService)
 {
     _productQueryService = productQueryService;
 }
 public GetProductsQueryHandler(IProductQueryService productQueryService, IHttpContextAccessor contextAccessor, ICache cache)
 {
     this.productQueryService = productQueryService;
     this.contextAccessor     = contextAccessor;
     this.cache = cache;
 }
Beispiel #21
0
 public ProductController(ICommandBus commandBus, IProductQueryService productQueryService)
 {
     _commandBus          = commandBus;
     _productQueryService = productQueryService;
 }
 public OtherBrandCategoryProductController(IProductQueryService productQueryService)
 {
     _productQueryService = productQueryService;
 }
 public ProductController(IProductCommandService commandService, IProductQueryService queryService) : base(commandService, queryService)
 {
     CommandService = commandService;
 }
 public GetProductByIdQueryHandler(IProductQueryService productQueryService)
 {
     this.productQueryService = productQueryService;
 }
 public ProductController(IProductQueryService productQuery, IProductCommandService productCommand)
 {
     _productQuery   = productQuery;
     _productCommand = productCommand;
 }
Beispiel #26
0
 public ProductFilterByNameController(IProductQueryService productQueryService)
 {
     _productQueryService = productQueryService;
 }
 public DiscountCodesController(IDiscountCodeService discountCodeService, ITourQueryService tourQueryService, IProductQueryService productQueryService)
 {
     _discountCodeService = discountCodeService;
     _tourQueryService    = tourQueryService;
     _productQueryService = productQueryService;
 }
Beispiel #28
0
 public ProductController(IProductCommandService product, IProductQueryService productQueryService)
 {
     _product             = product ?? throw new ArgumentNullException(nameof(product));
     _productQueryService = productQueryService ?? throw new ArgumentNullException(nameof(productQueryService));
 }
 public ProductController(IProductCommandService command, IProductQueryService query)
 {
     _command = command;
     _query   = query;
 }
Beispiel #30
0
 public CategoryProductsController(IProductQueryService productQueryService)
 {
     _productQueryService = productQueryService;
 }
Beispiel #31
0
 public GetProductsWithDiscountByCategoryIdQueryHandler(IProductQueryService productQueryService, ICache cache, IHttpContextAccessor httpContextAccessor)
 {
     this.productQueryService = productQueryService;
     this.cache = cache;
     this.httpContextAccessor = httpContextAccessor;
 }
Beispiel #32
0
 public ProductQueryController(IProductQueryService productQueryService)
 {
     this.productQueryService = productQueryService;
 }