public void CreatePodcast(string _URL, string _kategori, int _updateFrequency, int _numberOfEpisodes, string _name) { Podcast newPodcast = new Podcast(_URL, _kategori, _updateFrequency, _numberOfEpisodes, _name); podcastRepository.Create(newPodcast); }
public void CreatePodcastObject(string url, double interval, string category, string name, int totalEpisodes, List <Episode> episodes) { Podcast newPodcast = new Podcast(url, interval, category, name, totalEpisodes, episodes); podcastRepository.Create(newPodcast); }