public PodcastEpisode GetPodcast(int showNumber)
 {
     return(Podcasts.FirstOrDefault(s => s.ShowNumber == showNumber));
 }
示例#2
0
        //-----------------//
        // Podcast methods //
        //-----------------//

        public Podcast GetPodcast(int id)
        {
            return(Podcasts.FirstOrDefault(x => x.Id == id));
        }