SetTenant() abstract private method

abstract private SetTenant ( Microsoft.AspNet.Http.HttpContext context ) : Task
context Microsoft.AspNet.Http.HttpContext
return Task
        public async Task Invoke(HttpContext context, TenantService service)
        {
            if (!await service.SetTenant(context))
                return;

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

            await _next(context);
        }