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