Update attend-event-ajax.rst

Reverted back original getRequest and added the preferred method for type hinting on attendAction(Request $request, $id) and unattendAction (Request $request, $id).