From 677882f2d0feac94331246841a44e21cf9b2d910 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Wed, 12 Jan 2022 16:27:04 +0800 Subject: [PATCH] Update Tutorials --- docs/en/Tutorials/Part-10.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/Tutorials/Part-10.md b/docs/en/Tutorials/Part-10.md index 563de95d68..58ed534746 100644 --- a/docs/en/Tutorials/Part-10.md +++ b/docs/en/Tutorials/Part-10.md @@ -377,7 +377,7 @@ namespace Acme.BookStore.Books //Prepare a query to join books and authors var query = from book in queryable - join author in _authorRepository on book.AuthorId equals author.Id + join author in await _authorRepository.GetQueryableAsync() on book.AuthorId equals author.Id where book.Id == id select new { book, author }; @@ -400,7 +400,7 @@ namespace Acme.BookStore.Books //Prepare a query to join books and authors var query = from book in queryable - join author in _authorRepository on book.AuthorId equals author.Id + join author in await _authorRepository.GetQueryableAsync() on book.AuthorId equals author.Id select new {book, author}; //Paging