Beispiel #1
0
 public IHttpActionResult VerifyEmail(string email)
 {
     try
     {
         return(Ok(_xverifyRepository.GetEmailVerification(email)));
     }
     catch (Exception e)
     {
         if (e.InnerException != null)
         {
             return(Ok(e.InnerException.Message));
         }
         return(Ok(e.Message));
     }
 }
Beispiel #2
0
 public bool GetEmailVerification(string email)
 {
     return(_xverifyRepository.GetEmailVerification(email));
 }