A developer created a Lightning web component that allows users to input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of AccountWrappers and is called imperatively from a JavaScript event handler. Which two changes should the developer make so the Apex method functions correctly? (Choose two.)
A. Add @AuraEnabled to line 09.
B. Add @AuraEnabled to line 03.
C. Add @AuraEnabled to lines 11 and 12.
D. Add @AuraEnabled to line 01.
Suggest answer: C
Reference:
No comments:
Please share to make the community better.