RE 4 (incl. new Interceptors)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace zero.Applications;
|
||||
|
||||
internal class ContextModule : ZeroModule
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void Register(IZeroModuleConfiguration config)
|
||||
{
|
||||
config.Services.AddScoped<IZeroContext, ZeroContext>();
|
||||
config.Services.AddHttpContextAccessor();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user