public override bool IsValid() { ValidationResult = new AddNewProductCommandValidation().Validate(this); return(ValidationResult.IsValid); }
public override bool IsValid(object repository = null) { ValidationResult = new AddNewProductCommandValidation().Validate(this); return(ValidationResult.IsValid); }