예제 #1
0
 public CakeRepository(BakeryDbContext bakeryContext)
 {
     _bakeryContext = bakeryContext;
 }
예제 #2
0
 public OrderRepository(BakeryDbContext appDbContext, ShoppingCart shoppingCart)
 {
     _appDbContext = appDbContext;
     _shoppingCart = shoppingCart;
 }
예제 #3
0
 private ShoppingCart(BakeryDbContext appDbContext)
 {
     _appDbContext = appDbContext;
 }