Пример #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());
 }