Пример #1
0
        public List <Contact> GetContacts(Group gr)
        {
            ContactsService cs = new ContactsService();

            return(cs.GetAll(c => c.Groups.Contains(gr)));
        }
Пример #2
0
        public Contact GetContact(int id)
        {
            ContactsService cs = new ContactsService();

            return(cs.GetByID(id));
        }