DPL Interview Question

what is difference between api controller and simple controller class