Exemplo n.º 1
0
        /// <summary>
        /// 博客浏览页
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult Blog(int id)
        {
            ArticleDal.ArticlePvAdd(id);
            var article = ArticleDal.GetArticle(id);

            return(View(new BlogVM {
                Article = article
            }));
        }