public ActionResult GetRoleInfoList()
        {
            int pageIndex = Request["page"] != null?int.Parse(Request["page"]) : 1;

            int pageSize = Request["rows"] != null?int.Parse(Request["rows"]) : 1;

            int   totalcount   = 0;
            short delFlag      = (short)DeleteType.Normarl;
            var   userinfolist = roleInfoService.PageEntity <int>(pageSize, pageIndex, out totalcount, u => u.DelFlag == delFlag, c => c.ID, true);
            var   temp         = from u in userinfolist
                                 select new
            {
                ID       = u.ID,
                RoleName = u.RoleName,
                Sort     = u.Sort,
                Remark   = u.Remark,
            };

            return(Json(new { rows = temp, total = totalcount }, JsonRequestBehavior.AllowGet));
        }