Exemplo n.º 1
0
 public ActionResult VerifyEmailAccount(UserBase userBase)
 {
     actionResult = new ActionResult();
     try
     {
         actionResult.dtResult = admintDL.VerifyEmailAccount(userBase);
         if (actionResult.dtResult.Rows.Count > 0)
         {
             if (actionResult.dtResult.Rows[0][0].ToString() != "-10")
             {
                 actionResult.IsSuccess = true;
             }
             else
             {
                 actionResult.IsSuccess = false;
             }
         }
     }
     catch (Exception)
     {
     }
     return(actionResult);
 }