Work Experience related query

guys i have a simple question about work experience…please guide me if someone is employed in A company on payroll of B company on a contract basis. So in this case work experience considered in A company or not. On salary slips the B company d…

guys i have a simple question about work experience....please guide me if someone is employed in A company on payroll of B company on a contract basis. So in this case work experience considered in A company or not. On salary slips the B company didn't mention name of A company..Moreover if B company issue a certificate mentioning working in A company.. So is it work or not coz my A company hire freshers only on contract basis