From 8a2133a2d39ad4548805a4b0a0427a029e156ebc Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 4 Nov 2019 00:26:23 +0200 Subject: [PATCH] NDB.Logging.Api.DependencyInjectionExtensions --- NDB.Logging.Api/DependencyInjectionExtensions.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 NDB.Logging.Api/DependencyInjectionExtensions.cs diff --git a/NDB.Logging.Api/DependencyInjectionExtensions.cs b/NDB.Logging.Api/DependencyInjectionExtensions.cs new file mode 100644 index 0000000..c86de68 --- /dev/null +++ b/NDB.Logging.Api/DependencyInjectionExtensions.cs @@ -0,0 +1,12 @@ +using Microsoft.Extensions.DependencyInjection; + +namespace NDB.Logging.Api +{ + public static class DependencyInjectionExtensions + { + public static void AddRequestLogging(this IServiceCollection services) + { + services.AddScoped(); + } + } +}