private async void LoadSpeakerData() { try { if (SelectedSession.SpeakerId != null) { this.CurrentSpeaker = await SpeakersDefinition.LoadSpeaker(SelectedSession.SpeakerId.ToString()); this.IsSpeakerPicture = true; } else { this.IsSpeakerPicture = false; } if (SelectedSession.SponsorId != null) { this.CurrentSponsor = await SponsorDefinition.LoadSponsor(SelectedSession.SponsorId.ToString()); this.IsSponsorPicture = true; } else { IsSponsorPicture = false; } IsBusy = false; } catch (Exception ex) { throw ex; } }
private async void LoadSpeakerData() { try { SpeakersCollection = await SpeakersDefinition.LoadSpeakers(); IsBusy = false; } catch (Exception ex) { throw ex; } }