Пример #1
0
        public override bool IsValid(object value)
        {
            var isValid = reCaptchaService.VerifySync((string)value);

            RecaptchaContext.RecaptchaValidated = isValid;
            return(isValid);
        }
Пример #2
0
 public override bool IsValid(object value)
 {
     return(reCaptchaService.VerifySync((string)value));
 }