Browse Source

rename GetDocument to GetDocumentWithDetailsDtoAsync

pull/1190/head
Yunus Emre Kalkan 7 years ago
parent
commit
1ee3e3c3bc
  1. 8
      modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs

8
modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs

@ -37,7 +37,7 @@ namespace Volo.Docs.Documents
{
var project = await _projectRepository.GetAsync(input.ProjectId);
return await GetDocument(
return await GetDocumentWithDetailsDtoAsync(
project,
input.Name,
input.LanguageCode,
@ -49,7 +49,7 @@ namespace Volo.Docs.Documents
{
var project = await _projectRepository.GetAsync(input.ProjectId);
return await GetDocument(
return await GetDocumentWithDetailsDtoAsync(
project,
project.DefaultDocumentName,
input.LanguageCode,
@ -61,7 +61,7 @@ namespace Volo.Docs.Documents
{
var project = await _projectRepository.GetAsync(input.ProjectId);
return await GetDocument(
return await GetDocumentWithDetailsDtoAsync(
project,
project.NavigationDocumentName,
input.LanguageCode,
@ -99,7 +99,7 @@ namespace Volo.Docs.Documents
);
}
protected virtual async Task<DocumentWithDetailsDto> GetDocument(
protected virtual async Task<DocumentWithDetailsDto> GetDocumentWithDetailsDtoAsync(
Project project,
string documentName,
string languageCode,

Loading…
Cancel
Save