EventController: Refactoring viewAction