示例#1
0
 public DrinkRepository(DrinkAppDbContext dbContext)
 {
     this._dbContext = dbContext;
 }
 public OrderRepository(DrinkAppDbContext dbContext, ShoppingCart shoppingCart)
 {
     _dbContext    = dbContext;
     _shoppingCart = shoppingCart;
 }
示例#3
0
 public ShoppingCart(DrinkAppDbContext dbContext)
 {
     _dbContext = dbContext;
 }