예제 #1
0
        protected async Task GetUserInformations()
        {
            var user = await ProfileAppService.GetAsync();

            ChangePasswordModel = new ChangePasswordModel
            {
                HideOldPasswordInput = !user.HasPassword
            };

            PersonalInfoModel = ObjectMapper.Map <ProfileDto, PersonalInfoModel>(user);
        }
예제 #2
0
 public virtual Task <ProfileDto> GetLoginInfoAsync()
 {
     return(ProfileAppService.GetAsync());
 }