Create functions in the corresponding services layers of that entity, that check if the entity with a certain passed ID does already exist.