Code Segment: customSearch.js

Vhe2ndCrudSample - custom Search.js

We see here that we’re importing our getAccountList() function from a method with the same name in the Apex class customSearchController().

Code Segment: customSearchController.cls