public async Task <ActionResult> TenantChangeModal() { var loginInfo = await _sessionAppService.GetCurrentLoginInformations(); var tenants = await _sessionAppService.GetAllTenants(); return(View("/Views/Shared/Components/TenantChange/_ChangeModal.cshtml", new ChangeModalViewModel { TenancyName = loginInfo.Tenant?.TenancyName, Tenants = tenants })); }