Switzerland took a 1-0 lead over Germany in the first half after Dan Ndoye scored in the 28th minute.