Which side did Switzerland take during world war 1 and world war 2?

They were nuetral on the surface like Sweden.