DELETE :id endpoint
refactor LinkController to use function declarations instead of expressions