Exemplo n.º 1
0
        private void TestAddPersonToCommunityByNameAndDateOfBirth()
        {
            Console.WriteLine("# TestAddPersonToCommunityByNameAndDateOfBirth");
            var communityPerson = PrivateCommunityClient().AddPersonToCommunity(
                NameParam.Create("Karius", "Davidsen"),
                new DateTime(2008, 4, 30)
                );

            PrintCommunityPerson(communityPerson);
        }
Exemplo n.º 2
0
        private void TestGetPersonMediumByNameAndDateOfBirth()
        {
            Console.WriteLine("# TestGetPersonMediumByNameAndDateOfBirth");
            var person = MediumClient().GetPerson(
                NameParam.Create("Karius", "Davidsen"),
                new DateTime(2008, 4, 30)
                );

            PrintPerson(person);
        }
Exemplo n.º 3
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);
        }
Exemplo n.º 4
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);
        }