示例#1
0
 public OrdersService(IOrdersRepository ordersRepository, IOrderItemsRepository orderItemsRepository, IProductsRepository productsRepository, ICartItemsRepository cartItemsRepository)
 {
     this.ordersRepository     = ordersRepository;
     this.orderItemsRepository = orderItemsRepository;
     this.productsRepository   = productsRepository;
     this.cartItemsRepository  = cartItemsRepository;
 }
示例#2
0
 public CartUnitOfWork(
     ICartRepository cartRepository,
     ICartItemsRepository cartItemsRepository)
 {
     _cartRepository      = cartRepository;
     _cartItemsRepository = cartItemsRepository;
 }
示例#3
0
 public CartItemsService(ICartItemsRepository cartItemsRepository, ICartsRepository cartsRepository
                         , IMapper mapper
                         )
 {
     _mapper        = mapper;
     _cartItemsRepo = cartItemsRepository;
     _cartsRepo     = cartsRepository;
 }
示例#4
0
 public OrdersService(IOrdersRepository repo, IOrderItemsRepository orderItemsRepo, ICartsRepository cartsRepo, ICartItemsRepository cartItemsRepo, IMapper mapper)
 {
     _repo           = repo;
     _orderItemsRepo = orderItemsRepo;
     _cartsRepo      = cartsRepo;
     _cartItemsRepo  = cartItemsRepo;
     _mapper         = mapper;
 }
示例#5
0
 public CartItemsController(ICartRepository cartRepository,
                            ICartItemsRepository cartItemsRepository, ITournamentRepository tournamentRepository,
                            ITournamentService tournamentService, IMapper mapper)
 {
     _cartRepository       = cartRepository;
     _cartItemsRepository  = cartItemsRepository;
     _tournamentRepository = tournamentRepository;
     _tournamentService    = tournamentService;
     _mapper = mapper;
 }
示例#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;
 }
示例#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;
 }
示例#8
0
 public CartItemsService(ICartItemsRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
示例#9
0
 public CartItemsService(ICartItemsRepository repo)
 {
     _repo = repo;
 }
示例#10
0
 public CartItemsService(ICartItemsRepository repo, IProductsService products)
 {
     _repo     = repo;
     _products = products;
 }
示例#11
0
 public CartItemsService(ICartItemsRepository cartItemsRepository)
 {
     _cartItemsRepository = cartItemsRepository;
 }
示例#12
0
 public CartsRepository(ISalonDbContext dbContext, ICartItemsRepository cartItemsRepo)
 {
     this._dbContext     = dbContext;
     this._cartItemsRepo = cartItemsRepo;
 }