Exemplo n.º 1
0
 protected void DuplicateEmailValidator_ServerValidate(object source, ServerValidateEventArgs args)
 {
     if (RegistryUser == null)
     {
         var ef = new UserFactory(RegistryContext);
         args.IsValid = !ef.CheckEmailDuplicate(Domain, args.Value.Trim());
     }
 }