Example #1
0
 public virtual async Task <NavigationNode> GetNavigationAsync(GetNavigationDocumentInput input)
 {
     return(await RequestAsync <NavigationNode>(nameof(GetNavigationAsync), new ClientProxyRequestTypeValue
     {
         { typeof(GetNavigationDocumentInput), input }
     }));
 }
Example #2
0
        public async Task <DocumentWithDetailsDto> GetNavigationDocumentAsync(GetNavigationDocumentInput input)
        {
            var project = await _projectRepository.GetAsync(input.ProjectId);

            var dto = await GetDocumentWithDetailsDto(
                project,
                project.NavigationDocumentName,
                input.Version
                );

            return(dto);
        }