private void AddAgencyIdentifier(AgencyIdentifierDto agencyIdentifierDto, Agency agency) { var agencyIdentifierType = _mappingHelper.MapLookupField <AgencyIdentifierType> (agencyIdentifierDto.AgencyIdentifierType); var addIdentifier = new AgencyIdentifierBuilder().WithAgencyIdentifierType(agencyIdentifierType).WithIdentifierNumber( agencyIdentifierDto.IdentifierNumber).WithEffectiveDateRange( new DateRange(agencyIdentifierDto.StartDate, agencyIdentifierDto.EndDate)).Build(); agency.AddIdentifier(addIdentifier); }