public async Task <ApiResponseDto> UpdateUser(UserInfoDto userInfo) { ApiResponseDto apiResponse = await _authorizeApi.UpdateUser(userInfo); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(apiResponse); }
public async Task <UserInfo> UpdateUser(UserInfo userInfo) { _userInfoCache = await _authorizeApi.UpdateUser(userInfo); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(_userInfoCache); }