diff --git a/docs/en/Tutorials/Part-6.md b/docs/en/Tutorials/Part-6.md index e62bf03391..ec8815cc29 100644 --- a/docs/en/Tutorials/Part-6.md +++ b/docs/en/Tutorials/Part-6.md @@ -166,7 +166,7 @@ namespace Acme.BookStore.Authors { Check.NotNullOrWhiteSpace(name, nameof(name)); - var existingAuthor = _authorRepository.FindByNameAsync(name); + var existingAuthor = await _authorRepository.FindByNameAsync(name); if (existingAuthor != null) { throw new AuthorAlreadyExistsException(name);