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