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