Updated EventController with new function to retrieve by code