Example #1
0
        public override CommandResult Validate()
        {
            ValidationResult validationResult = new UpdateCustomerCommandValidation().Validate(this);

            return(new CommandResult(validationResult));
        }
Example #2
0
 public override bool IsValid()
 {
     ValidationResult = new UpdateCustomerCommandValidation().Validate(this);
     return(ValidationResult.IsValid);
 }
Example #3
0
 public override bool IsValid(object repository = null)
 {
     ValidationResult = new UpdateCustomerCommandValidation().Validate(this);
     return(ValidationResult.IsValid);
 }