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