Esempio n. 1
0
        private void LoadContacts()
        {
            //IEnumerable<Contact> temp = _DB.Contacts.ToList();
            IEnumerable <Contact> temp = soapClient.GetContacts();

            foreach (var x in temp)
            {
                var methods = soapClient.GetContactMethods(x.Id);
                x.ContactMethods = methods.ToList();
                Contacts.Add(x);
            }
        }