Пример #1
0
        public ActionResult GetChildren(string node)
        {
            int parentId = Convert.ToInt32(node);

            var data = _service.ResourceTree(parentId);

            return(Json(data.OrderBy(x => x.SortIndex), JsonRequestBehavior.AllowGet));
        }