Add event() to Api Controller