Pregunta de entrevista de LendingPad

They asked me to modify the Add endpoint to prevent errors when adding items with duplicate identifiers.