四个方法执行顺序是OnActionExecuting——>OnActionExecuted——>OnResultExecuting——>OnResultExecuted。
demo代码实现
*类继承,方法重写
*控制器
*视图
执行结果: