public List <Contact> GetContacts(Group gr) { ContactsService cs = new ContactsService(); return(cs.GetAll(c => c.Groups.Contains(gr))); }
public Contact GetContact(int id) { ContactsService cs = new ContactsService(); return(cs.GetByID(id)); }