Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ContactSearch {
- public static List<Contact> searchForContacts (string lastname , string Postalcode){
- List<Contact> Contacts = [Select ID,Name from Contact where LastName = :lastname AND MailingPostalCode = :Postalcode ];
- return Contacts;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement