Beispiel #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 CloudTags()
        {
            List <Articles> lis = PartialServices.GetTags();

            return(PartialView(lis));
        }