public async Task Invoke(HttpContext context, TenantService service)
        {
            if (!await service.SetTenant(context))
                return;

            await _next(context);
        }
Beispiel #2
0
        public async Task Invoke(HttpContext context, TenantService service)
        {
            if (!await service.SetTenant(context))
            {
                return;
            }

            await _next(context);
        }