From 34d8c417c8c8cc71cbcff5a35f5ef64405ee545e Mon Sep 17 00:00:00 2001 From: Young Date: Mon, 14 Oct 2024 23:01:24 +0800 Subject: [PATCH] fixed bug --- src/Infrastructure/Extensions/RepositoryContextSetup.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Infrastructure/Extensions/RepositoryContextSetup.cs b/src/Infrastructure/Extensions/RepositoryContextSetup.cs index 8462c3f..3cc20e5 100644 --- a/src/Infrastructure/Extensions/RepositoryContextSetup.cs +++ b/src/Infrastructure/Extensions/RepositoryContextSetup.cs @@ -8,7 +8,6 @@ public static class RepositoryContextSetup { ArgumentNullException.ThrowIfNull(services); services.TryAddScoped(typeof(IRepositoryBase<>), typeof(RepositoryBase<>)); - services.TryAddScoped(typeof(IServiceBase<>), typeof(ServiceBase<>)); return services; } } \ No newline at end of file