Turkey has vowed to respond to the attack at a restaurant in which a civilian was also killed.