public List <IEntity> getGeneral() { return((List <IEntity>)contexto.Set <IEntity>().ToList()); }
public RepositorioGenerico(CentroMedicoEntities contexto) { this.contexto = contexto; this.dbSet = contexto.Set <IEntity>(); }