Arbeidsrecht, ambtenarenrecht en ontslagrecht