Exemplo n.º 1
0
        /// <summary>
        /// Determines whether [is unique email] [the specified email address].
        /// </summary>
        /// <param name="emailAddress">The email address.</param>
        /// <returns>
        ///     <c>true</c> if [is unique email] [the specified email address]; otherwise, <c>false</c>.
        /// </returns>
        public bool IsUniqueEmail(string emailAddress)
        {
            int emailCount = _resource.EmailAddressCount(emailAddress);

            bool isUniqueEmailAddress = (emailCount == 0);

            return(isUniqueEmailAddress);
        }