Esempio n. 1
0
        private async Task LoadLanguagesAsync()
        {
            Languages.Clear();
            var lookup = await _languageLookupDataService.GetLanguageLookupAsync();

            foreach (var item in lookup)
            {
                Languages.Add(item);
            }
        }
 public async Task <IEnumerable <LookupItem> > GetLanguages()
 {
     return(await _languageLookupDataService.GetLanguageLookupAsync(""));
 }
 private async Task <IEnumerable <LookupItem> > GetLanguageList()
 => await languageLookupDataService.GetLanguageLookupAsync(nameof(GenreDetailViewModel));