Users shall be able to indicate their participation to the events, and event information should also contain the participants information. We need an endpoint for this functionality. The mechanism is going to be similar to the like button, getting this endpoint twice should be remove the user from the participants list.
[x] Add the user (should be extracted from token) to the event's participants.
[x] Remove the user if it had already indicated its participant.
[x] Be sure about returning the information of the participants for the events (modify the EventDTO if necessary)
Users shall be able to indicate their participation to the events, and event information should also contain the participants information. We need an endpoint for this functionality. The mechanism is going to be similar to the like button, getting this endpoint twice should be remove the user from the participants list.
Due Date: 22.12.2022 23.59 Reviewer: @demet47