public PodcastController(IPodcastFeedProvider podcastFeedService, IPodcastProvider podcastProvider)
        {
            if (podcastFeedService == null)
            {
                throw new ArgumentNullException(nameof(podcastFeedService));
            }
            this.podcastFeedService = podcastFeedService;

            if (podcastProvider == null)
            {
                throw new ArgumentNullException(nameof(podcastProvider));
            }
            this.podcastProvider = podcastProvider;
        }
Beispiel #2
0
 public RssServingEndpoint(IPodcastFeedProvider feedProvider)
 {
     this.feedProvider = feedProvider;
 }