Try to avoid repetition here. I have an action in the base class controller that I am not allowed to modify. I would like my action to perform some checks, invoke the action of the base class, and somehow modify the result before rendering. But part of what I need to do involves modifying some properties ViewModel, and the base class returns ActionResult. I donβt see a way to get ViewModelfrom ActionResult, so I may have to write my own method, most of which simply imitate what the base class does. I would rather not do this. Any suggestions?
source
share