Esempio n. 1
0
 public void Register(string email, string pwd)
 {
     if (!ValidateEmail(email))
     {
         throw new System.Exception("Invalid email");
     }
     SRPDemoHelper.SaveUserToDb(email, pwd);
     SendMail(email, "Thank you for registering");
 }
Esempio n. 2
0
 public void SendMail(string to, string content)
 {
     SRPDemoHelper.SendEmail(to, content);
 }