I\'ve got a view model like this:
public class SignUpViewModel { [Required(ErrorMessage = \"Bitte lesen und akzeptieren Sie die AGB.\")] [DisplayName
The proper way to do this is to check the type!
[Range(typeof(bool), "true", "true", ErrorMessage = "You must or else!")] public bool AgreesWithTerms { get; set; }