Table of contents
This function enables to register for event.
parent of current request
payload provided with the request
context of entire application
The following checks are done:
- If the user exists
- If the event exists.
- If the user has already registered for the event