示例#1
0
 public SitemapGenerator(UrlHelper urlHelper, IGroupService groupService, IPageService pageService, IPostService postService, ICategoryService categoryService, INewsService newsService, IGenreService genreService, IPublisherService publisherService, IArtistService artistService, IAlbumService albumService, ITrackService trackService, IPollService pollService, ISitemapSettingsService sitemapSettingsService)
 {
     _urlHelper        = urlHelper;
     _groupService     = groupService;
     _pageService      = pageService;
     _postService      = postService;
     _categoryService  = categoryService;
     _newsService      = newsService;
     _genreService     = genreService;
     _publisherService = publisherService;
     _artistService    = artistService;
     _albumService     = albumService;
     _trackService     = trackService;
     _pollService      = pollService;
     _sitemapSettings  = sitemapSettingsService.LoadSitemapSettings();
 }
示例#2
0
 public SitemapSettingsController(ISitemapSettingsService sitemapSettingsService)
 {
     _sitemapSettingsService = sitemapSettingsService;
 }