public ActionResult GJson() { var treeObject = ADController.GetTreeObject(); //return Content(treeObject.ToJson()); return(Json(treeObject, JsonRequestBehavior.AllowGet)); //var group = ADController.GetTree(); //return Content(group.ToJson()); //return JsonGroup(group); }
public ActionResult GJson() { var treeObject = ADController.GetTreeObject(); return(Json(treeObject, JsonRequestBehavior.AllowGet)); }