From f468e8b8a98f5ebc7818c0ca3211b9f7b349bd4b Mon Sep 17 00:00:00 2001 From: Federico Daniel Colombo Date: Tue, 3 Sep 2024 12:21:23 -0600 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e54b1393..f3b8b768 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ If you're using a DI container, you can register the `IAuditScopeFactory` as a s The default implementation of `IAuditScopeFactory` is provided by the `AuditScopeFactory` class. ```c# -services.AddSingleton(); +services.AddScoped(); ``` Then you can inject the IAuditScopeFactory into your classes to create audit scopes: