Pretty much it depends on what work you're doing.
Then it could be debatable if you could wear it or not.
But really if your boss says don't wear that outfit because it's too revealing or inappropriate for this workplace you're kinda forced to do that or find a new job.
Unless your boss was making you wear something that made you feel uncomfortable.
But I understand, at times I agree it is lame.
As for your outfit, it does look quite revealing of your lower half, your stomach you could get away with saying it was slightly too small xD
Needless to say, if I was working with you, I'd not complain xD