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

            _cachingService.ClearRegion(CacheRegions.UserProfiles);
            await _graphQLService.CreateUserProfileAsync(userProfile, token).ConfigureAwait(false);

            return(userProfile);
        }