Exemple #1
0
    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));
        }
    }
Exemple #2
0
    private async void OnSearchCommand()
    {
        var shows = await showsService.SearchShowsAsync(new Guid(Id), Text);

        Shows = await LoadShows(shows);
    }