Esempio n. 1
0
        private void AddAgencyEmailAddress(AgencyEmailAddressDto agencyEmailAddressDto, Agency agency)
        {
            var emailAddressType = _mappingHelper.MapLookupField <AgencyEmailAddressType> (agencyEmailAddressDto.AgencyEmailAddressType);

            agency.AddEmailAddress(new AgencyEmailAddress(new EmailAddress(agencyEmailAddressDto.EmailAddress), emailAddressType));
        }