public GenericRepository(CreditCardDbContext _context) { this._context = _context; table = _context.Set <T>(); }
public GenericRepository() { this._context = new CreditCardDbContext(); table = _context.Set <T>(); }
public GenericRepository(CreditCardDbContext _context) { this._context = _context; table = _context.Set <T>(); }
public GenericRepository() { this._context = new CreditCardDbContext(); table = _context.Set <T>(); }