public ActionResult TestDataSet(string tree) { ActivityTree currentTree = new ActivityTree(); if (tree == "Activity") { TreeViewData = currentTree.ActivityData(); } else if (tree == "Transact") { TreeViewData = currentTree.TransactData(); } JavaScriptSerializer serializer = new JavaScriptSerializer(); return(Json(serializer.Serialize(TreeViewData), JsonRequestBehavior.AllowGet)); }
public NuixCommandConsole() { InitializeComponent(); LoadFromConfig(); ActivityTree.ExpandAll(); }