Exemplo n.º 1
0
 public Location GetLocation(int id)
 {
     return(Locations.AsNoTracking().Include(i => i.Address).Where(s => s.Id == id && s.IsDeleted == false).First());
 }
Exemplo n.º 2
0
 public IEnumerable <Location> GetLocations(int id)
 {
     return(Locations.AsNoTracking().Include(i => i.Address).Where(s => s.Id == id && s.IsDeleted == false));
 }