An armed attack has taken place at a nightclub in the Besiktas neighborhood of Istanbul, according to Turkish state-run news agency Anadolu.