Пример #1
0
        public override object OnPost(RecursiveChildPromptItemsRequest request)
        {
            var hierarhcy = _recursiveHierarchyPromptService.GetHierarchyPrompt(
                request.PromptName,
                new[] { request.ParameterValue });

            return(hierarhcy.GetChildOf(request.ParameterName));
        }
        public override object OnPost(ChildPromptItemsRequest request)
        {
            var hierarhcy = _hierarchyPromptService.GetHierarchyPrompt(request.PromptName, request.ParameterValues);

            return(hierarhcy.GetChildOf(request.ParameterName));
        }