private async Task OnSearchCommandAsync() { var list = await showsService.SearchShowsAsync(Text); if (string.IsNullOrWhiteSpace(Text)) { list = await showsService.GetShowsAsync(); } if (list != null) { UpdatePodcasts(await ConvertToViewModels(list)); } }
private async void OnSearchCommand() { var shows = await showsService.SearchShowsAsync(new Guid(Id), Text); Shows = await LoadShows(shows); }