You need to sign in to do that
Don't have an account?

The @AuraEnabled keyword exposes an Apex method to the Aura framework for use in Lightning Components. If you're asking why Salesforce doesn't just automatically expose all methods, I'm not quite sure. Possibly due to performance concerns.