Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public class ContactSearch {
  2. public static List<Contact> searchForContacts (string lastname , string Postalcode){
  3. List<Contact> Contacts = [Select ID,Name from Contact where LastName = :lastname AND MailingPostalCode = :Postalcode ];
  4. return Contacts;
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement