private Result SetEmployerId(Employer id) { var result = EmployerIdValidator.Validate(id); if (result.Success) { this.employerId = id; } return(result); }
public Result ChangeEmployer(EmployerId id) { var result = EmployerIdValidator.Validate(id); if (result.Success) { this.employerId = id; } return(result); }