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); }
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); }