Пример #1
0
 public async static Task <IList <Trip> > GetAllTrips()
 {
     if (App.StaticData)
     {
         return(TripFeedJson.Serialize(StaticJsonData.FeedJson));
     }
     else
     {
         return(await FeedRequester.GetTrips(QueryFactory.AllTrips()));
     }
 }