what tpye detectric motor operate on both alternating current and direct circuit

The series-wound DC motor has that property. See

http://en.wikipedia.org/wiki/Electric_motor#Universal_motors_and_series_wound_DC_motors