public WeatherForecastController(ILogger <WeatherForecastController> logger, ITestCache testCache) { _logger = logger; _testCache = testCache; }
//TODO in inspector public void SetTest(ITestCache testCache) { _test.SetValue(testCache); }
public async Task Invoke(HttpContext httpContext, ITestCache cache) { await cache.BootstrapCache(); await _next(httpContext); }