public ActionResult SysMenuList(string menuname, int page = 1, int limit = 10) { var result = ResModelFactory.ResDefaultData <SystemMenuViewModel>(); SystemMenuService service = new SystemMenuService(); int count = 0; var list = service.GetSystemMenuBypage(limit, page, menuname, out count); result.count = count; result.data = list.ToList().ToArray(); return(Json(result, JsonRequestBehavior.AllowGet)); }