Esempio n. 1
0
        public HttpSupport(PersistenceManager persistenceManager, PodcastHttpApi podcastHttpApi)
        {
            if (podcastHttpApi == null)
            {
                throw new ArgumentNullException(nameof(podcastHttpApi));
            }

            _persistenceManager = persistenceManager;
            podcastHttpApi.RegisterRoutes(this);
        }
Esempio n. 2
0
 public HttpSupport(PersistanceManager persistanceManager, PodcastHttpApi podcastHttpApi)
 {
     _persistanceManager = persistanceManager;
     podcastHttpApi.RegisterRoutes(this);
 }