//修改页面创建
        public ActionResult EditPage()
        {
            var list = CMS_Category_BLL.Find();

            ViewBag.ddList = list;
            return(View());
        }
 //查询
 public ActionResult Find(int rows, int page)
 {
     try
     {
         CMS_Category cateFilter = new CMS_Category();
         Pagination   pagination = CMS_Category_BLL.Find(cateFilter, rows, page);
         return(Json(pagination, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public ActionResult FindByID(int cid)
 {
     try
     {
         CMS_Category cateFilter = new CMS_Category();
         cateFilter.cid = cid;
         Pagination          pagination = CMS_Category_BLL.Find(cateFilter, 10, 1);
         List <CMS_Category> list       = pagination.rows as List <CMS_Category>;
         return(Json(list[0], JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public ActionResult FindCate()
        {
            var list = CMS_Category_BLL.Find();

            return(Json(list, JsonRequestBehavior.AllowGet));
        }