예제 #1
0
        public ActionResult JsonTreeCategorySelect(int groupId)
        {
            groupid = groupId;
            var ltsCategory = _da.GetListTree(groupId, Utility.AgencyId);

            return(Json(ltsCategory, JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        public ActionResult GetListTree(string key, int groupId)
        {
            var obj = key != Keyapi ? new List <TreeViewItem>() : _da.GetListTree(groupId, Agencyid());

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }