How to add client event to sever side, Please explain with simple sample code or example