Exemplo n.º 1
0
        static void Main()
        {
            using (var client = new PersonServiceClient())
            {
                var consultantList = client.GetConsultants();

                foreach (var consultant in consultantList)
                {
                    Console.WriteLine($"{consultant.FirstName} {consultant.LastName}");
                }

                Console.ReadLine();
            }
        }