Exemplo n.º 1
0
 public OrderService(ApplicationDbContext context, UserManager <ApplicationUser> userManager,
                     CalculateService calculateService, CartService cartService)
 {
     _context          = context;
     _userManager      = userManager;
     _calculateService = calculateService;
     _cartService      = cartService;
 }
Exemplo n.º 2
0
 public CartService(ApplicationDbContext context, CalculateService calculateService)
 {
     _context          = context;
     _calculateService = calculateService;
 }