private void GetServiceStops() { ServiceRequests.FromServicesRequest.OnCompleted = (response) => { var fromServices = response.Result; Database.TempData.FromServices = fromServices; if (ServiceRequests.ToServicesRequest.IsCompleted) { btnReserve.IsActivated = true; btnBuy.IsActivated = true; App.HideProgress(); NavigationService.Navigate(new Uri("/Pages/Bus/PassengerListPage.xaml", UriKind.RelativeOrAbsolute)); } }; ServiceRequests.ToServicesRequest.OnCompleted = (response) => { var toServices = response.Result; Database.TempData.ToServices = toServices; if (ServiceRequests.FromServicesRequest.IsCompleted) { btnReserve.IsActivated = true; btnBuy.IsActivated = true; App.HideProgress(); NavigationService.Navigate(new Uri("/Pages/Bus/PassengerListPage.xaml", UriKind.RelativeOrAbsolute)); } }; ServiceRequests.GetFromServices(Database.TempData.Ticket.Journeys[0].Segments[0]); ServiceRequests.GetToServices(Database.TempData.Ticket.Journeys[0].Segments[0]); }