NDB.Logging.Api.DependencyInjectionExtensions

messaging
Tudor Stanciu 2019-11-04 00:26:23 +02:00
parent 40f104e11e
commit 8a2133a2d3
1 changed files with 12 additions and 0 deletions

View File

@ -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<RequestLoggingAttribute>();
}
}
}