Pregunta de entrevista de DPL

what is difference between api controller and simple controller class