Exemplo n.º 1
0
        public OrderService(IRepository <GiftCardSummary> giftcardsummaryRepository, IRepository <GiftOrderDetail> giftorderdetailRepository, IRepository <GiftOrder> giftorderRepository, IRepository <GiftCard> giftcardRepository, IRepository <OrderStatus> orderStatusRepository, IRepository <Order> orderRepository, IUserService userService, IRepository <Traveler> travelerRepository, IRepository <Country> countriesRepo, IRepository <State> statesRepo, IRepository <ProductVariant> productVariantRepo, IDiscountCodeQueryService discountCodeQueryService)
        {
            _orderStatusRepository    = orderStatusRepository;
            _orderRepository          = orderRepository;
            _userService              = userService;
            _travelerRepository       = travelerRepository;
            _countriesRepo            = countriesRepo;
            _statesRepo               = statesRepo;
            _productVariantRepo       = productVariantRepo;
            _discountCodeQueryService = discountCodeQueryService;

            _giftcardRepository        = giftcardRepository;
            _giftorderRepository       = giftorderRepository;
            _giftorderdetailRepository = giftorderdetailRepository;
            _giftcardsummaryRepository = giftcardsummaryRepository;
        }
Exemplo n.º 2
0
        public OrderService(IRepository<GiftCardSummary> giftcardsummaryRepository, IRepository<GiftOrderDetail> giftorderdetailRepository, IRepository<GiftOrder> giftorderRepository, IRepository<GiftCard> giftcardRepository, IRepository<OrderStatus> orderStatusRepository, IRepository<Order> orderRepository, IUserService userService, IRepository<Traveler> travelerRepository, IRepository<Country> countriesRepo, IRepository<State> statesRepo, IRepository<ProductVariant> productVariantRepo, IDiscountCodeQueryService discountCodeQueryService)
        {
            _orderStatusRepository = orderStatusRepository;
            _orderRepository = orderRepository;
            _userService = userService;
            _travelerRepository = travelerRepository;
            _countriesRepo = countriesRepo;
            _statesRepo = statesRepo;
            _productVariantRepo = productVariantRepo;
            _discountCodeQueryService = discountCodeQueryService;

            _giftcardRepository = giftcardRepository;
            _giftorderRepository = giftorderRepository;
            _giftorderdetailRepository = giftorderdetailRepository;
            _giftcardsummaryRepository = giftcardsummaryRepository;
        }
Exemplo n.º 3
0
 public DiscountCodeValidator(IDiscountCodeQueryService discountCodeQueryService, IRepository <ProductVariant> productVariantRepo)
 {
     _discountCodeQueryService = discountCodeQueryService;
     _productVariantRepo       = productVariantRepo;
 }
 public DiscountCodeValidator(IDiscountCodeQueryService discountCodeQueryService, IRepository<ProductVariant> productVariantRepo)
 {
     _discountCodeQueryService = discountCodeQueryService;
       _productVariantRepo = productVariantRepo;
 }