public ViewResult Detail(int id) { var result = ArticleBLL.Detail(id); ViewBag.atitle = result.title; ViewBag.author = result.admin.username; ViewBag.creatTime = result.time; ViewBag.cateName = result.cate.catname; ViewBag.content = result.content; return(View()); }