public async Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations() { var output = new GetCurrentLoginInformationsOutput { User = (await GetCurrentUserAsync()).MapTo<UserLoginInfoDto>() }; if (AbpSession.TenantId.HasValue) { // output.Tenant = (await GetCurrentTenantAsync()).MapTo<TenantLoginInfoDto>(); } return output; }
public async Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations() { var a = await GetCurrentUserAsync(); var output = new GetCurrentLoginInformationsOutput { User = (await GetCurrentUserAsync()).MapTo<UserLoginInfoDto>() }; return output; }