Exemplo n.º 1
0
 public OrderController(
     UserManager <Customer> userManager,
     SignInManager <Customer> signInManager,
     IOrderRepository orderRepository,
     CartRepository cartRepository,
     ITeaRepository teaRepository,
     IMapper mapper)
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     _orderRepository = orderRepository;
     _cartRepository  = cartRepository;
     _teaRepository   = teaRepository;
     _mapper          = mapper;
 }
Exemplo n.º 2
0
 public FetchAllTeasQuery(ITeaRepository teaRepository)
 {
     _teaRepository = teaRepository;
 }
Exemplo n.º 3
0
 public CartController(ITeaRepository teaRepository, CartRepository cartRepository, IMapper mapper)
 {
     _teaRepository  = teaRepository;
     _cartRepository = cartRepository;
     _mapper         = mapper;
 }
Exemplo n.º 4
0
 public TeaController(ITeaRepository teaRepository, IMapper mapper)
 {
     _teaRepository = teaRepository;
     _mapper        = mapper;
 }
 public FetchTeaByIdQuery(ITeaRepository teaRepository)
 {
     _teaRepository = teaRepository;
 }
Exemplo n.º 6
0
 public HomeController(ITeaRepository teaRepository, IPieRepository pieRepository)
 {
     _teaRepository = teaRepository;
     _pieRepository = pieRepository;
 }
Exemplo n.º 7
0
 public TeaService(ITeaRepository TeaRepository)
 {
     this.TeaRepository = TeaRepository;
 }
 public ShoppingCartController(ITeaRepository teaRepository, ShoppingCart shoppingCart)
 {
     _teaRepository = teaRepository;
     _shoppingCart  = shoppingCart;
 }
Exemplo n.º 9
0
 public TeaController(ITeaRepository teaRepository, ICategoryRepository categoryRepository)
 {
     _teaRepository      = teaRepository;
     _categoryRepository = categoryRepository;
 }
Exemplo n.º 10
0
 public AdminController(ITeaRepository teaRepository, IOrderRepository orderRepository, IMapper mapper)
 {
     _teaRepository   = teaRepository;
     _orderRepository = orderRepository;
     _mapper          = mapper;
 }
Exemplo n.º 11
0
 public TeaApiController(ITeaRepository teaRepository)
 {
     _teaRepository = teaRepository;
 }
Exemplo n.º 12
0
 public HomeController(ITeaRepository teaRepository)
 {
     _teaRepository = teaRepository;
 }