How was it to work with him?
How was it, working with him?
Are these both possible? I think the first one is better. I searched on the internet but did not find any specific info. Both seem to be possible. Is there a difference in meaning? Maybe the second one is when you worked or have been working a long time with the person.