Пример #1
0
        // skincare/1
        public ActionResult Detail(int id)
        {
            var article = jlService.GetArticle(id);


            // 热门文章
            var hotest = jlService.GetHotestArticle(10);
            var latest = jlService.GetLatestArticle(10);

            ViewBag.Hotest = hotest;
            ViewBag.Latest = latest;

            return(View(article));
        }