public ActionResult JsonTreeCategorySelect(int groupId) { groupid = groupId; var ltsCategory = _da.GetListTree(groupId, Utility.AgencyId); return(Json(ltsCategory, JsonRequestBehavior.AllowGet)); }
public ActionResult GetListTree(string key, int groupId) { var obj = key != Keyapi ? new List <TreeViewItem>() : _da.GetListTree(groupId, Agencyid()); return(Json(obj, JsonRequestBehavior.AllowGet)); }