コード例 #1
0
        //sitemap page
        public virtual async Task <IActionResult> Sitemap()
        {
            if (!_commonSettings.SitemapEnabled)
            {
                return(RedirectToRoute("HomePage"));
            }

            var model = await _commonViewModelService.PrepareSitemap();

            return(View(model));
        }