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)
 {
 }