Ejemplo n.º 1
0
 public RequestMiddleware(RequestDelegate next, IHttpCurrentContext httpCurrentContex, IConfiguration configuration)
 {
     Configuration       = configuration;
     _httpCurrentContext = httpCurrentContex;
     this.next           = next;
 }
Ejemplo n.º 2
0
 public DbContextFactory(IHttpCurrentContext httpCurrentContext)
 {
     _httpCurrectContext = httpCurrentContext;
 }