public static bool Validate(string value)
        {
            AccountValidationRule rule = new AccountValidationRule();

            return(rule.Validate(value, CultureInfo.CurrentCulture).IsValid);
        }
 public static bool Validate(string value)
 {
     AccountValidationRule rule = new AccountValidationRule();
     return rule.Validate(value, CultureInfo.CurrentCulture).IsValid;
 }