Example #1
0
 public AuctionRepository()
 {
     _context = new AuctionContext();
     _dbSet   = _context.Set <T>();
 }
Example #2
0
 public AuctionRepository(AuctionContext context)
 {
     _context = context;
     _dbSet   = _context.Set <T>();
 }