public RequestMiddleware(RequestDelegate next, IHttpCurrentContext httpCurrentContex, IConfiguration configuration) { Configuration = configuration; _httpCurrentContext = httpCurrentContex; this.next = next; }
public DbContextFactory(IHttpCurrentContext httpCurrentContext) { _httpCurrectContext = httpCurrentContext; }