What are server side controllers in Lightning Component and how to use server-side controllers?
In this blog post, we will learn about Server side controllers. After we have created a server-side controller in Apex, we can use @AuraEnabled annotation to enable client and server side access to the controller method. The methods on which you have used @AuraEnabled annotation will be exposed. These server-side actions are not counted against