Пример #1
0
        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);
        }
Пример #2
0
        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);
        }