IHttpContextAccessor was not the best design decision. An alternative way would be to pass the `HttpContext` object