private void AddLocationIdentifier(LocationIdentifierDto dto, Location location)
        {
            var locationIdentifierType = _mappingHelper.MapLookupField <LocationIdentifierType> (dto.LocationIdentifierType);

            location.AddIdentifier(
                new LocationIdentifierBuilder().WithLocationIdentifierType(locationIdentifierType).WithIdentifierNumber(dto.IdentifierNumber)
                .WithEffectiveDateRange(new DateRange(dto.StartDate, dto.EndDate)));
        }
 private void ChangeLocationIdentifier(LocationIdentifierDto dto, Location location, LocationIdentifier locationIdentifier)
 {
     RemoveLocationIdentifier(dto, location, locationIdentifier);
     AddLocationIdentifier(dto, location);
 }
 private static void RemoveLocationIdentifier(LocationIdentifierDto dto, Location location, LocationIdentifier locationIdentifier)
 {
     location.RemoveIdentifier(locationIdentifier);
 }