Beispiel #1
0
        //
        // GET: /Home/

        /// <summary>
        /// 首页
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            var model            = new HomeIndexVM();
            var ArticleList      = ArticleDal.SelectArticleList(new SelectArticleRequest());
            var ArticleLabelList = ArticleDal.GetAllLabelAndArticle();

            model.ArticleList      = ArticleList;
            model.ArticleLabelList = ArticleLabelList;
            return(View(model));
        }