diff --git a/docs/en/Tutorials/Part-10.md b/docs/en/Tutorials/Part-10.md index bc1591fc60..d06cea6b6e 100644 --- a/docs/en/Tutorials/Part-10.md +++ b/docs/en/Tutorials/Part-10.md @@ -626,7 +626,7 @@ public abstract class BookAppService_Tests : BookStoreApplicatio private readonly IBookAppService _bookAppService; private readonly IAuthorAppService _authorAppService; - public BookAppService_Tests() + protected BookAppService_Tests() { _bookAppService = GetRequiredService(); _authorAppService = GetRequiredService(); diff --git a/docs/en/Tutorials/Part-4.md b/docs/en/Tutorials/Part-4.md index d229cfabdd..c97bce6bd7 100644 --- a/docs/en/Tutorials/Part-4.md +++ b/docs/en/Tutorials/Part-4.md @@ -93,7 +93,7 @@ public abstract class BookAppService_Tests : BookStoreApplicatio { private readonly IBookAppService _bookAppService; - public BookAppService_Tests() + protected BookAppService_Tests() { _bookAppService = GetRequiredService(); } @@ -219,7 +219,7 @@ public abstract class BookAppService_Tests : BookStoreApplicatio { private readonly IBookAppService _bookAppService; - public BookAppService_Tests() + protected BookAppService_Tests() { _bookAppService = GetRequiredService(); }