I had been employed by company X but after couple of months I had been shifted to client location at company Y and I worked there for almost 2 years before resigning. Also, Company Y is more renowned than original employer. I am tempted to mention Company Y in my resume and also in LinkedIn profile as all my project work is also related to the client I worked with i.e, company Y. So is it okey to mention Client Y on the resume and LinkedIn or I should keep just Company X (Original Employer).
P.S: Can I put both. In that case how can I mention that in LinkedIn as it allows only one company per work experience and that sounds obvious too. help needed.