How can I fix my resume in this specific case? I worked for company A from Feb 2015 to Feb 2017 (with a fixed term contract). In March, because of that, I joined company B that after a while outsourced all the IT department and I was laid off (I stayed from March to October --> 8 months). Luckily company A offered me another position, therefore I am back there from November.
Now I am thinking, what do I do with the B experience and how can I fix my resume? It was a very bad experience and I would not like to mention it. An option would be to say that I never left company A (so I do not list B) but in it is lying...another that I took a break to learn something...what do you think would be the best way?