public JsonResult GetChildren(string typeName, int?id)
        {
            if (typeName == "root")
            {
                return(Json(TreeLoader.GetNodeInfo(BSUIR), JsonRequestBehavior.AllowGet));
            }
            object wanted = TreeLoader.GetNodeInfo(typeName, (int)id, rep);

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