예제 #1
0
        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
            }));
        }