private void AddAgencyAddress(AgencyAddressAndPhoneDto agencyAddressAndPhoneDto, Agency agency) { var agencyAddressType = _mappingHelper.MapLookupField <AgencyAddressType> (agencyAddressAndPhoneDto.AgencyAddressType); var stateProvince = _mappingHelper.MapLookupField <StateProvince> (agencyAddressAndPhoneDto.StateProvince); var countyArea = _mappingHelper.MapLookupField <CountyArea> (agencyAddressAndPhoneDto.CountyArea); var country = _mappingHelper.MapLookupField <Country> (agencyAddressAndPhoneDto.Country); var agencyAddress = agency.AddAddressAndPhone( new AgencyAddress( agencyAddressType, new AddressBuilder().WithFirstStreetAddress(agencyAddressAndPhoneDto.FirstStreetAddress).WithSecondStreetAddress( agencyAddressAndPhoneDto.SecondStreetAddress).WithCityName(agencyAddressAndPhoneDto.CityName).WithCountyArea( countyArea).WithStateProvince(stateProvince) .WithCountry(country).WithPostalCode(new PostalCode(agencyAddressAndPhoneDto.PostalCode)))); MapAgencyPhone(agencyAddress, agencyAddressAndPhoneDto); }