Where to apply for an airport transit visa?

My place of residence My visa application should be submitted to
Turkey  TLScontact Istanbul or Ankara