Update Tutorials

pull/11285/head
liangshiwei 4 years ago
parent ef879bd2f8
commit 677882f2d0

@ -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

Loading…
Cancel
Save