protected async Task GetUserInformations() { var user = await ProfileAppService.GetAsync(); ChangePasswordModel = new ChangePasswordModel { HideOldPasswordInput = !user.HasPassword }; PersonalInfoModel = ObjectMapper.Map <ProfileDto, PersonalInfoModel>(user); }
public virtual Task <ProfileDto> GetLoginInfoAsync() { return(ProfileAppService.GetAsync()); }