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