public ProductRepository(OnlineShoppingDBContext dbContext) : base(dbContext)
 {
     _dbContext = dbContext;
 }
예제 #2
0
 public OrderRepository(OnlineShoppingDBContext dbContext) : base(dbContext)
 {
     _dbContext = dbContext;
 }
예제 #3
0
 public AddToCartController(OnlineShoppingDBContext context)
 {
     _context = context;
 }
예제 #4
0
 public AccountRepository(OnlineShoppingDBContext dbContext) : base(dbContext)
 {
     _dbContext = dbContext;
 }
 public LaptopController(OnlineShoppingDBContext context)
 {
     _context = context;
 }
예제 #6
0
 public Repository(OnlineShoppingDBContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet     = _dbContext.Set <T>();
 }
예제 #7
0
 public UnitOfWork(OnlineShoppingDBContext dbContext)
 {
     _dbContext = dbContext;
 }
 public OrderPlacementController(OnlineShoppingDBContext _context)
 {
     context = _context;
 }