public string GetTreeNodes() { List <TypedTreeNodeItem <SystemOrganizationWrapper> > nodes = (new SystemOrganizationWrapper()).GetAllTreeItems(); return(WebUIHelper.BuildTree <SystemOrganizationWrapper>(nodes, "All Organizations", Icon.Bricks).ToJson()); }
public string GetTreeNodes() { List <TypedTreeNodeItem <SystemResourcesWrapper> > nodes = new SystemResourcesWrapper().GetAllTreeItems(); return(WebUIHelper.BuildTree <SystemResourcesWrapper>(nodes, "All Resources", Icon.Bricks).ToJson()); }