NDB.Logging.Api.DependencyInjectionExtensions
parent
40f104e11e
commit
8a2133a2d3
|
@ -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>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue