Update Part-6.md

pull/4864/head
Halil İbrahim Kalkan 5 years ago
parent 1938a2648e
commit a63bdeebb1

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

Loading…
Cancel
Save