Пример #1
0
        public async Task LoadConferences(Priority priority)
        {
            var conferences = await _conferencesService
                              .GetConferences(_settingsService.UserIdToken, priority)
                              .ConfigureAwait(false);

            this.Conferences = new ObservableCollection <Conference> (conferences);
        }
        public async Task GetConferences()
        {
            this.IsLoading = true;

            var conferences = await _conferencesService
                              .GetConferences(Priority.Background)
                              .ConfigureAwait(false);

            CacheConferences(conferences);

            this.IsLoading = false;

            this.Conferences = conferences;
        }