Solutionunvalidated
Update the React request to call the endpoint with the id in the path (e.g., fetch(`/delete-event/${id}`, { method: 'DELETE' }) ) so it matches the controller mapping.
c9039145-5aaa-4296-b7c7-4476eb0bd39d
Update the React request to call the endpoint with the id in the path (e.g., fetch(/delete-event/${id}, { method: 'DELETE' }) ) so it matches the controller mapping.