public CreateOrGetUnconfirmedBasketQuery(EkShopContext dbContext,
                                          IHttpContextAccessor httpContextAccessor,
                                          UserManager <User> userManager)
     : base(dbContext)
 {
     _httpContextAccessor = httpContextAccessor;
     _userManager         = userManager;
 }
Пример #2
0
 public GetCategoryQuery(EkShopContext dbContext,
                         IQuery <GetCategoryCommand, Category> categoryBaseQuery,
                         IWorkContext workContext)
     : base(dbContext)
 {
     _categoryBaseQuery = categoryBaseQuery;
     _workContext       = workContext;
 }
Пример #3
0
 public DeleteCategoryQuery(EkShopContext dbContext,
                            IRemoteQuery <ListRoutesCommand, List <Route> > listRoutesQuery,
                            ICache cache)
     : base(dbContext)
 {
     _listRoutesQuery = listRoutesQuery;
     _cache           = cache;
 }
Пример #4
0
 public AddProductToBasketQuery(EkShopContext dbContext,
                                IRemoteQuery <GetProductCommand, Product> getProductQuery,
                                IRemoteQuery <CreateOrGetUnconfirmedBasketCommand, Basket> createOrGetUnconfirmedBasketQuery,
                                IWorkContext workContext)
     : base(dbContext)
 {
     _getProductQuery = getProductQuery;
     _createOrGetUnconfirmedBasketQuery = createOrGetUnconfirmedBasketQuery;
     _workContext = workContext;
 }
Пример #5
0
 public SubmitCheckoutQueryHandler(IQueryHandler <GetCategoryByUrlCommand, CategoryDto> getCategoryByUrlQueryHandler,
                                   IRemoteQuery <CreateOrGetUnconfirmedBasketCommand, Basket> createOrGetUnconfirmedBasketQuery,
                                   IRemoteQuery <ListPaymentMethodsCommand, List <PaymentMethod> > listPaymentMethodsQuery,
                                   IRemoteQuery <ListShippingMethodsCommand, List <ShippingMethod> > listShippingMethodsQuery,
                                   EkShopContext dbContext)
 {
     _getCategoryByUrlQueryHandler      = getCategoryByUrlQueryHandler;
     _createOrGetUnconfirmedBasketQuery = createOrGetUnconfirmedBasketQuery;
     _listPaymentMethodsQuery           = listPaymentMethodsQuery;
     _listShippingMethodsQuery          = listShippingMethodsQuery;
     _dbContext = dbContext;
 }
Пример #6
0
 public SaveOrderQueryHandler(IQueryHandler <GetCategoryByUrlCommand, CategoryDto> getCategoryByUrlQueryHandler,
                              IRemoteQuery <ListPaymentMethodsCommand, List <PaymentMethod> > listPaymentMethodsQuery,
                              IRemoteQuery <ListShippingMethodsCommand, List <ShippingMethod> > listShippingMethodsQuery,
                              IRemoteQuery <ListOrderStatusesCommand, List <OrderStatus> > listOrderStatusesQuery,
                              IRemoteQuery <GetOrderCommand, Order> getOrderQuery,
                              EkShopContext dbContext,
                              IWorkContext workContext)
 {
     _getCategoryByUrlQueryHandler = getCategoryByUrlQueryHandler;
     _listPaymentMethodsQuery      = listPaymentMethodsQuery;
     _listShippingMethodsQuery     = listShippingMethodsQuery;
     _listOrderStatusesQuery       = listOrderStatusesQuery;
     _getOrderQuery = getOrderQuery;
     _dbContext     = dbContext;
     _workContext   = workContext;
 }
Пример #7
0
 public GetSystemSettingQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #8
0
 public SaveProductQuery(EkShopContext dbContext,
                         ICache cache)
     : base(dbContext)
 {
     _cache = cache;
 }
Пример #9
0
 public ListShippingMethodsQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #10
0
 public GetPhraseByValueQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #11
0
 public GetCategoryBaseQuery(EkShopContext dbContext,
                             ICache cache)
     : base(dbContext)
 {
     _cache = cache;
 }
Пример #12
0
 public ListOrderStatusesQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #13
0
 public ListProductsQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #14
0
 public GetProductQuery(EkShopContext dbContext,
                        IQuery <GetCategoryCommand, Category> getCategoryBaseQuery)
     : base(dbContext)
 {
     _getCategoryBaseQuery = getCategoryBaseQuery;
 }
Пример #15
0
 public ListPaymentMethodsQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #16
0
 public RemoteQuery(EkShopContext dbContext)
 {
     DbContext = dbContext;
 }
Пример #17
0
 public DeleteBasketItemQuery(EkShopContext dbContext,
                              IRemoteQuery <CreateOrGetUnconfirmedBasketCommand, Basket> createOrGetUnconfirmedBasketQuery)
     : base(dbContext)
 {
     _createOrGetUnconfirmedBasketQuery = createOrGetUnconfirmedBasketQuery;
 }
Пример #18
0
 public GetRouteQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #19
0
 public GetInputFormQuery(EkShopContext dbContext, IRemoteQuery <GetSystemSettingCommand, SystemSetting> getSystemSettingQuery)
     : base(dbContext)
 {
     _getSystemSettingQuery = getSystemSettingQuery;
 }
Пример #20
0
 public ListAngularComponentsQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #21
0
 public PageQuery(EkShopContext dbContext)
 {
     DbContext = dbContext;
 }
Пример #22
0
 public ListProductsByCategoryQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #23
0
 public ListCategoryTypesQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #24
0
 public ListPhrasesByNameQuery(EkShopContext dbContext,
                               IWorkContext workContext)
     : base(dbContext)
 {
     _workContext = workContext;
 }
Пример #25
0
 public ListPhrasesByTermQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #26
0
 public SaveCategoryQuery(EkShopContext dbContext,
                          ICache cache)
     : base(dbContext)
 {
     _cache = cache;
 }
Пример #27
0
 public ListRoutesQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #28
0
 public ListCharacteristicsQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }
Пример #29
0
 public GetLanguageQuery(EkShopContext dbContext,
                         IWorkContext workContext)
     : base(dbContext)
 {
     _workContext = workContext;
 }
Пример #30
0
 public GetOrderQuery(EkShopContext dbContext)
     : base(dbContext)
 {
 }