예제 #1
0
        private void TestAddPersonToCommunityByNameAndAddress()
        {
            Console.WriteLine("# TestAddPersonToCommunityByNameAndAddress");
            var communityPerson = PrivateCommunityClient().AddPersonToCommunity(
                NameParam.Create("Karius", "Davidsen"),
                AddressParam.Create("Úti í Bø",
                                    HouseNumber.Create(16),
                                    "Syðrugøta")
                );

            PrintCommunityPerson(communityPerson);
        }
예제 #2
0
        private void TestGetPersonMediumByNameAndAddress()
        {
            Console.WriteLine("# TestGetPersonMediumByNameAndAddress");
            var person = MediumClient().GetPerson(
                NameParam.Create("Karius", "Davidsen"),
                AddressParam.Create("Úti í Bø",
                                    HouseNumber.Create(16),
                                    "Syðrugøta")
                );

            PrintPerson(person);
        }