示例#1
0
        public async Task <ApiResponseDto> UpdateUser(UserInfoDto userInfo)
        {
            ApiResponseDto apiResponse = await _authorizeApi.UpdateUser(userInfo);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
            return(apiResponse);
        }
示例#2
0
        public async Task <UserInfo> UpdateUser(UserInfo userInfo)
        {
            _userInfoCache = await _authorizeApi.UpdateUser(userInfo);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
            return(_userInfoCache);
        }