public virtual async Task <DocumentWithDetailsDto> GetAsync(GetDocumentInput input) { var project = await _projectRepository.GetAsync(input.ProjectId); return(await GetDocumentWithDetailsDto( project, input.Name, input.Version )); }
public virtual async Task <DocumentWithDetailsDto> GetAsync(GetDocumentInput input) { var project = await _projectRepository.GetAsync(input.ProjectId); input.Version = GetProjectVersionPrefixIfExist(project) + input.Version; return(await GetDocumentWithDetailsDtoAsync( project, input.Name, input.LanguageCode, input.Version )); }
public virtual async Task <DocumentWithDetailsDto> GetAsync(GetDocumentInput input) { var project = await _projectRepository.GetAsync(input.ProjectId); var inputVersionStringBuilder = new StringBuilder(); input.Version = inputVersionStringBuilder.Append(GetProjectVersionPrefixIfExist(project)).Append(input.Version).ToString(); return(await GetDocumentWithDetailsDtoAsync( project, input.Name, input.LanguageCode, input.Version )); }
public virtual Task <DocumentWithDetailsDto> GetAsync(GetDocumentInput input) { return(DocumentAppService.GetAsync(input)); }