However they spin it, technically you worked for TriNet. TriNet probably has some professional services agreement with your company that pays what it costs to employ you (salary, taxes, benefits), but your W2 says TriNet.