public CartController(IProductRepository productRepository, ICartLineRepository cartLineRepository, ICartRepository cartRepository, EFDbContext context) { _productRepository = productRepository; _cartLineRepository = cartLineRepository; _cartRepository = cartRepository; _context = context; }
public ChartHelpersController(EFDbContext context, IProductRepository productRepository, ICartLineRepository cartLineRepository, ICartRepository cartRepository) { _context = context; _productRepository = productRepository; _cartLineRepository = cartLineRepository; _cartRepository = cartRepository; UserStore <Customer> customerStore = new UserStore <Customer>(_context); _customerManager = new UserManager <Customer>(customerStore); }
public CartController(ICartLineRepository cartLineRepo, IProductRepository productRepo, IUserService userServ, IMapper mapper) { _cartLineRepo = cartLineRepo; _productRepo = productRepo; _userServ = userServ; _mapper = mapper; }
public OrderController(IOrderLineRepository orderLineRepo, IOrderRepository orderRepo, ICartLineRepository cartLineRepo, IUserRepository userRepo, IUserService userServ, IMapper mapper) { _orderLineRepo = orderLineRepo; _cartLineRepo = cartLineRepo; _orderRepo = orderRepo; _userRepo = userRepo; _userServ = userServ; _mapper = mapper; }