public ActionResult GetFormulariumTree(string node)
        {
            FormulariumNameList list = FormulariumNameList.GetNameValueList();
            ArrayList           tree = new ArrayList();

            if (node == "root")
            {
                foreach (var f in list)
                {
                    Hashtable treeNode = new Hashtable();
                    treeNode.Add("id", f.Key);
                    treeNode.Add("isLeaf", false);
                    treeNode.Add("text", f.Value);
                    treeNode.Add("type", "Formularium");
                    tree.Add(treeNode);
                }
            }
            return(this.Direct(tree));
        }
 public ActionResult GetFormulariaList()
 {
     return(this.Direct(FormulariumNameList.GetNameValueList()));
 }