コード例 #1
0
        /// <inheritdoc />
        public async Task <IdentityResult> CreateAsync(LondonTravelUser user, CancellationToken cancellationToken)
        {
            if (user == null)
            {
                throw new ArgumentNullException(nameof(user));
            }

            user.Id = await _client.CreateAsync(user);

            return(IdentityResult.Success);
        }