LTM Limited interview question

Difference between controller and rest controller