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

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

            await _next(context);
        }