Were there Uboats in the Black Sea during World War II and how did they get into the Black Sea?

If there were U-boats in the Black Sea they could have traveled throug the Mediterranean Sea, the Aegean Sea, the Sea of Marmara, the Hellespont, and the Bosphorus into the Black Sea.