public IActionResult ForTenant(string tenant) { using (scopeProvider.WithTenant(tenant)) { var contextName = nameService.GetContextName(); return(View("Index", contextName)); } }