Two Haryana irrigation department employees were sentenced to four years in prison for accepting bribes to register a contractor's license.