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;
        }
        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;
        }
Example #3
0
 public DiscountCodeValidator(IDiscountCodeQueryService discountCodeQueryService, IRepository <ProductVariant> productVariantRepo)
 {
     _discountCodeQueryService = discountCodeQueryService;
     _productVariantRepo       = productVariantRepo;
 }
 public DiscountCodeValidator(IDiscountCodeQueryService discountCodeQueryService, IRepository<ProductVariant> productVariantRepo)
 {
     _discountCodeQueryService = discountCodeQueryService;
       _productVariantRepo = productVariantRepo;
 }