GrupoTematico
SubCategoriaGrupotematico git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C132
This commit is contained in:
parent
6155841ffd
commit
5aca24f213
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ using AYA.SlnSinortModel.Entidades;
|
||||||
using AYA.SlnSinortModel.Sinort;
|
using AYA.SlnSinortModel.Sinort;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Data.Entity;
|
||||||
using System.Data.Entity.Validation;
|
using System.Data.Entity.Validation;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
@ -51,7 +52,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
||||||
{
|
{
|
||||||
using (SinortContex db = new SinortContex())
|
using (SinortContex db = new SinortContex())
|
||||||
{
|
{
|
||||||
respuesta = db.SubCategoriaGrupoTematico.ToList();
|
respuesta = db.SubCategoriaGrupoTematico.Include(p=> p.GrupoTematico).AsNoTracking().ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue