My_Test_Repo/force-app/main/default/classes/AccountHelper.cls

7 lines
187 B
OpenEdge ABL

public with sharing class AccountHelper {
@AuraEnabled(cacheable=true)
public Static List<Account> getAccount() {
return[SELECT Name,Phone FROM Account LIMIT 10];
}
}