Пример #1
0
        public JsonResult GetChildren(string route)
        {
            List <int> r = (List <int>) new JavaScriptSerializer().Deserialize(route, typeof(List <int>));
            // Get children
            JsonResult result = Json(ObjectWalker.GetChildrenRecursion(root, r, r.ToList(), typeof(Entrant)), JsonRequestBehavior.AllowGet);

            return(result);
        }