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