public virtual async Task <DocumentWithDetailsDto> GetAsync(GetDocumentInput input) { return(await RequestAsync <DocumentWithDetailsDto>(nameof(GetAsync), new ClientProxyRequestTypeValue { { typeof(GetDocumentInput), input } })); }
public async Task <DocumentWithDetailsDto> GetDocDetailsAsync(GetDocumentInput input) { var project = await _projectRepository.GetAsync(input.ProjectId); var dto = await GetDocumentWithDetailsDto(project, input.Name, input.Version); return(dto); }