Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate to zh-Hans #11264

Merged
merged 1 commit into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/en/Tutorials/Part-10.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ This new method will be used from the UI to get a list of authors and fill a dro

### BookAppService

Open the `BookAppService` interface in the `Books` folder of the `Acme.BookStore.Application` project and replace the file content with the following code:
Open the `BookAppService` class in the `Books` folder of the `Acme.BookStore.Application` project and replace the file content with the following code:

{{if DB=="EF"}}

Expand Down Expand Up @@ -449,7 +449,7 @@ namespace Acme.BookStore.Books
{
return sorting.Replace(
"authorName",
"author.Name",
"author.Name",
StringComparison.OrdinalIgnoreCase
);
}
Expand Down Expand Up @@ -533,7 +533,7 @@ namespace Acme.BookStore.Books
{
input.Sorting = nameof(Book.Name);
}

//Get the IQueryable<Book> from the repository
var queryable = await Repository.GetQueryableAsync();

Expand Down Expand Up @@ -582,7 +582,7 @@ namespace Acme.BookStore.Books
.ToArray();

var queryable = await _authorRepository.GetQueryableAsync();

var authors = await AsyncExecuter.ToListAsync(
queryable.Where(a => authorIds.Contains(a.Id))
);
Expand Down
Loading