DPL interview question

what is difference between api controller and simple controller class