Пример #1
0
        public PersonDTO CreatePerson()
        {
            PersonDTO person = CreatePersonDTO();

            string json = personAdapter.ConvertDtoToJson(person);


            string responseJson = client.CreatePerson(json);

            return(personAdapter.ConvertJsonToDto(responseJson));
        }