There is a moral difference.
One is between conscenting adults, the other is a demand from a boss.
You are correct that third parties are disadvantaged in both cases.
The offer from either side is reprehensible because it is made for a corrupt motive.