Add get function in eventController