From a63bdeebb1ab49742c97886c38bc2a5bdf64a459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 20 Jul 2020 22:01:06 +0300 Subject: [PATCH] Update Part-6.md --- docs/en/Tutorials/Part-6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);