public ShoppingCart(AppDbContext appDbContext)
 {
     _appDbContext = appDbContext;
 }
Example #2
0
 public PieRepository(AppDbContext appDbContext)
 {
     _appDbContext = appDbContext;
 }
Example #3
0
 private ShoppingCart(AppDbContext appDbContext)
 {
     _appDbContext = appDbContext;
 }
 public OrderRepository(AppDbContext appDbContext, ShoppingCart shoppingCart)
 {
     _appDbContext = appDbContext;
     _shoppingCart = shoppingCart;
 }
 public PieRepository(AppDbContext context)
 {
     _context = context;
 }