From 8290699b2f65ef321a384ea9818347cac633476e Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 23 Oct 2024 11:11:09 +0200 Subject: [PATCH] =?UTF-8?q?feat(Infrastructure):=20erstellt=20DIExtensions?= =?UTF-8?q?.=20=20-=20AddWorkFlowRepositories-Methode=20hinzugef=C3=BCgt,?= =?UTF-8?q?=20um=20Repositories=20=C3=BCber=20Schnittstellen=20einzubinden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WorkFlow.Infrastructure/DIExtensions.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 WorkFlow.Infrastructure/DIExtensions.cs diff --git a/WorkFlow.Infrastructure/DIExtensions.cs b/WorkFlow.Infrastructure/DIExtensions.cs new file mode 100644 index 0000000..3d70ec6 --- /dev/null +++ b/WorkFlow.Infrastructure/DIExtensions.cs @@ -0,0 +1,16 @@ +using Microsoft.Extensions.DependencyInjection; +using WorkFlow.Infrastructure.Contracts; +using WorkFlow.Infrastructure.Repositories; + +namespace WorkFlow.Infrastructure +{ + public static class DIExtensions + { + public static IServiceCollection AddWorkFlowRepositories(this IServiceCollection services) => services + .AddScoped() + .AddScoped() + .AddScoped() + .AddScoped() + .AddScoped(); + } +} \ No newline at end of file