public void TestGetPersonById() { PersonServiceClient client = new PersonServiceClient(); var person = client.GetPersonById(5, new PersonIncludes { Phones = true, Addressses = true, Accounts = true }); client.Close(); }
public void TestGetPersonById() { var client = new PersonServiceClient(); var person = client.GetPersonById(5, new PersonIncludes { Phones = true, Addressses = true, Accounts = true }); client.Close(); Assert.IsNotNull(person); }
static void Main(string[] args) { PersonServiceClient client = new PersonServiceClient(); Console.WriteLine(client.GetPersonById(1)); Console.ReadLine(); }