Added the code to Action Filter. This will help in logging the actions into LogActions Table.