Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class LightningMapCntrl {
public static List<Contact> fetchContacts(String accountId){
List<Contact> conList = [Select Id,Name,Phone,MailingCity,MailingStreet,MailingPostalCode,MailingState,MailingCountry from Contact where accountId=:accountId];
return conList;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment