コード例 #1
0
        public ViewResult Index()
        {
            HomeViewModel model = new HomeViewModel
            {
                RecentLinks = contentManager.ContentRecentNLinksGet("Blog", 8)
            };

            ViewBag.Title = "Home";
            return(View("Index", model));
        }