get event in controller