Example #1
0
        public ActionResult AddArticle()
        {
            List <Articles> tags  = PartialServices.GetTags();
            List <Articles> types = PartialServices.GetArticleType();

            ViewData["tags"]  = tags;
            ViewData["types"] = types;
            return(View());
        }
        //文章分类
        public ActionResult ArtSort()
        {
            List <Articles> lis = PartialServices.GetArticleType();

            return(PartialView(lis));
        }