Skip to content

Instantly share code, notes, and snippets.

@arun12209
Created February 21, 2020 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arun12209/18b2cd4a1a96e82969c17c1bc6e23af0 to your computer and use it in GitHub Desktop.
Save arun12209/18b2cd4a1a96e82969c17c1bc6e23af0 to your computer and use it in GitHub Desktop.
LightningMapCntrl
public class LightningMapCntrl {
@AuraEnabled
public static List<Account> fetchAllAccounts(){
List<Account> accList = [Select Id,Name,Website,BillingCity,BillingStreet,BillingPostalCode,BillingState,BillingCountry from Account ];
return accList;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment