public ActionResult getMenuTree() { var json = new MenuService().getMenuTree(); return Json(json, JsonRequestBehavior.AllowGet); }
public ActionResult getAllMenu() { object json = new MenuService().getAllMenu(); return Json(json, JsonRequestBehavior.AllowGet); }