An employer who pays your salary has a right to tell you what to do as long as it is