Example #1
0
        public void TestEmailExists()
        {
            bool result   = LoginClient.EmailExists("*****@*****.**");
            bool expected = true;

            Assert.AreEqual(expected, result);
        }
Example #2
0
 public bool ExistsEmail(String emailAdress)
 {
     try {
         using (var client = new LismanService.LoginManagerClient()) {
             return(client.EmailExists(emailAdress));
         }
     } catch (Exception ex) {
         Logger.log.Error("Function ExistEmail," + ex);
         return(false);
     }
 }