From 1938a2648eec9f72a59d0291aeb8a91d54a35fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 20 Jul 2020 22:00:58 +0300 Subject: [PATCH] Update Part-1.md --- docs/en/Tutorials/Part-1.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/en/Tutorials/Part-1.md b/docs/en/Tutorials/Part-1.md index 7de5e54c16..50d82e4df9 100644 --- a/docs/en/Tutorials/Part-1.md +++ b/docs/en/Tutorials/Part-1.md @@ -230,6 +230,11 @@ namespace Acme.BookStore } public async Task SeedAsync(DataSeedContext context) + { + await CreateBooksAsync(); + } + + private async Task CreateBooksAsync() { if (await _bookRepository.GetCountAsync() > 0) {