I work in software development and was 'hired' by a major company (B) through a staffing agency (A). The agency put me on temp-to-perm assignment with B about six months ago; the contract is at-will for nine months. (It is through this coming March.)
Cutting a long story short, I have no remorse whatsoever about breaking things off with company A since they have treated me so poorly.
I am concerned however with my relationship with company B. Given different circumstances, I would love to stay. The people are awesome, the culture is comfortable, and the job is close to family. The people acknowledge my help and help me when I need it. They don't absolutely need me, but I like to think I'd be missed.
I've received an impossibly good offer from another company and I am going to take it. Whom should I tell first, my employer (A) or my team (B)?
Note that I know my employer – however bad of an employer they are – has a right to know. I hand my resignation to them and none other. This question is over whether I can/should tell my team before they find out through the 'chain of command' as it were.