public with sharing class MyAccounts { @AuraEnabled(cacheable=true) public static List getAccounts() { return[SELECT Name,Phone FROM Account]; } }