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; }
public RssServingEndpoint(IPodcastFeedProvider feedProvider) { this.feedProvider = feedProvider; }