示例#1
0
        public void UpdatePodcastName(int index, string name)
        {
            Podcast podcastObj = podcastRepository.GetAll()[index];
            string  newName    = name;

            podcastObj.Name = newName;
            podcastRepository.Update(index, podcastObj);
        }
 public void ChangePodcast(int index, Podcast updatePodcast)
 {
     podcastRepository.Update(index, updatePodcast);
 }