public IUserInvitation Create(IAccount account, IEmailAddress emailAddress)
        {
            UserInvitation result = Create(new UserInvitationData(), account, emailAddress);

            result.ExpirationTimestamp = DateTime.UtcNow;
            return(result);
        }
        public async Task <IUserInvitation> Get(ISettings settings, Guid id)
        {
            UserInvitation     result = null;
            UserInvitationData data   = await _dataFactory.Get(_settingsFactory.CreateData(settings), id);

            if (data != null)
            {
                result = Create(data);
            }
            return(result);
        }