public override ValidationResult UpdateAge(UserUpdateAgeCommand command) { Age = command.Age; return(ValidationResult.OkResult(new List <DomainEventBase> { new UserUpdateAgeEvent(Age, Id) })); }
public override ValidationResult UpdateAge(UserUpdateAgeCommand command) { // TODO: Implement this method; return(ValidationResult.ErrorResult(new List <string> { "The Method \"UpdateAge\" in Class \"User\" that is not implemented was called, aborting..." })); }
public abstract ValidationResult UpdateAge(UserUpdateAgeCommand command);