Exemplo n.º 1
0
        public async Task <ApiResponseDto> UpdateUser(UserInfoDto userInfo)
        {
            ApiResponseDto apiResponse = await _authorizeApi.UpdateUser(userInfo);

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

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