Ejemplo n.º 1
0
 public async void RemoveDownloadedEpisode(Episode episode)
 {
     if (episode != null)
     {
         await episode.DeleteDownloaded();
         await LoadFavorites();
     }
 }
Ejemplo n.º 2
0
        public async void Execute(object parameter)
        {
            var     episodeWithState = parameter as EpisodeWithState;
            Episode episode          = episodeWithState?.Episode;

            if (episode == null)
            {
                episode = parameter as Episode;
            }

            if (episode == null)
            {
                return;
            }

            if (episode != null)
            {
                await episode.DeleteDownloaded();
            }
        }