public DomainRuleException(ValidationFailures validationFailures)
 {
     ValidationFailures = validationFailures;
 }
 public DomainRuleException(string name, string message)
 {
     ValidationFailures.Add(new ValidationFailure(name, message));
 }