コード例 #1
0
        public async Task <IUserProfile> UpdateUserProfileAsync(IUserProfile userProfile, CancellationToken token = default)
        {
            userProfile.EnsureNotNull();

            _cachingService.ClearRegion(CacheRegions.UserProfiles);

            await _graphQLService.UpdateUserProfileAsync(userProfile, token).ConfigureAwait(false);

            return(userProfile);
        }