D-SIMLAB Interview Question

What's difference between @controller and @restcontroller