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); }