Example #1
0
        public async Task <bool> SetRegistrationConfirmationGuid(
            Guid userGuid,
            Guid registrationConfirmationGuid,
            CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();
            if (registrationConfirmationGuid == Guid.Empty)
            {
                return(false);
            }

            return(dbSiteUser.SetRegistrationConfirmationGuid(userGuid, registrationConfirmationGuid));
        }