public OrdersService(IOrdersRepository ordersRepository, IOrderItemsRepository orderItemsRepository, IProductsRepository productsRepository, ICartItemsRepository cartItemsRepository)
 {
     this.ordersRepository     = ordersRepository;
     this.orderItemsRepository = orderItemsRepository;
     this.productsRepository   = productsRepository;
     this.cartItemsRepository  = cartItemsRepository;
 }
Beispiel #2
0
 public CartUnitOfWork(
     ICartRepository cartRepository,
     ICartItemsRepository cartItemsRepository)
 {
     _cartRepository      = cartRepository;
     _cartItemsRepository = cartItemsRepository;
 }
Beispiel #3
0
 public CartItemsService(ICartItemsRepository cartItemsRepository, ICartsRepository cartsRepository
                         , IMapper mapper
                         )
 {
     _mapper        = mapper;
     _cartItemsRepo = cartItemsRepository;
     _cartsRepo     = cartsRepository;
 }
Beispiel #4
0
 public OrdersService(IOrdersRepository repo, IOrderItemsRepository orderItemsRepo, ICartsRepository cartsRepo, ICartItemsRepository cartItemsRepo, IMapper mapper)
 {
     _repo           = repo;
     _orderItemsRepo = orderItemsRepo;
     _cartsRepo      = cartsRepo;
     _cartItemsRepo  = cartItemsRepo;
     _mapper         = mapper;
 }
Beispiel #5
0
 public CartItemsController(ICartRepository cartRepository,
                            ICartItemsRepository cartItemsRepository, ITournamentRepository tournamentRepository,
                            ITournamentService tournamentService, IMapper mapper)
 {
     _cartRepository       = cartRepository;
     _cartItemsRepository  = cartItemsRepository;
     _tournamentRepository = tournamentRepository;
     _tournamentService    = tournamentService;
     _mapper = mapper;
 }
Beispiel #6
0
 public CartService(
     ICartRepository cartRepository,
     ICartItemsRepository cartItemsRepository,
     ICustomerCartRepository customerCartRepository,
     IUserRepository userRepository,
     IUnitOfWork unitOfWork)
 {
     this.cartRepository         = cartRepository;
     this.cartItemsRepository    = cartItemsRepository;
     this.customerCartRepository = customerCartRepository;
     this.userRepository         = userRepository;
     this.unitOfWork             = unitOfWork;
 }
Beispiel #7
0
 public OrderService(
     IOrderRepository orderRepository,
     IOrderItemsRepository orderItemsRepository,
     ICustomerOrderRepository customerOrderRepository,
     ICartItemsRepository cartItemsRepository,
     IUserRepository userRepository,
     IUnitOfWork unitOfWork)
 {
     this.orderRepository         = orderRepository;
     this.orderItemsRepository    = orderItemsRepository;
     this.customerOrderRepository = customerOrderRepository;
     this.cartItemsRepository     = cartItemsRepository;
     this.userRepository          = userRepository;
     this.unitOfWork = unitOfWork;
 }
Beispiel #8
0
 public CartItemsService(ICartItemsRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
Beispiel #9
0
 public CartItemsService(ICartItemsRepository repo)
 {
     _repo = repo;
 }
Beispiel #10
0
 public CartItemsService(ICartItemsRepository repo, IProductsService products)
 {
     _repo     = repo;
     _products = products;
 }
Beispiel #11
0
 public CartItemsService(ICartItemsRepository cartItemsRepository)
 {
     _cartItemsRepository = cartItemsRepository;
 }
Beispiel #12
0
 public CartsRepository(ISalonDbContext dbContext, ICartItemsRepository cartItemsRepo)
 {
     this._dbContext     = dbContext;
     this._cartItemsRepo = cartItemsRepo;
 }