public List <Location> GetAllLocation() { var response = (from location in FirebaseLocationDal.GetAll() select location).OrderBy(p => p.Borough).ThenBy(p => p.Zone).ToList(); return(response); }
public Location GetByLocationId(int locationId) { return(FirebaseLocationDal.GetAll().SingleOrDefault(p => p.LocationId == locationId)); }