public ActionResult GetListTree(string key, string code) { var obj = key != Keyapi ? new List <TreeViewItem>() : _da.GetListTree(Agencyid()); return(Json(obj, JsonRequestBehavior.AllowGet)); }