public AuctionRepository() { _context = new AuctionContext(); _dbSet = _context.Set <T>(); }
public AuctionRepository(AuctionContext context) { _context = context; _dbSet = _context.Set <T>(); }