예제 #1
0
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            Debug.Print("Test Harness => OnActionExecuting");

            if (!filterContext.HttpContext.Request.HttpMethod.ToUpper().Equals("GET"))
                filterContext.Result = EmptyResult();

            base.OnActionExecuting(filterContext);
        }
예제 #2
0
 public override void OnActionExecuting(ActionExecutingContext filterContext)
 {
     base.OnActionExecuting(filterContext);
 }
예제 #3
0
 public virtual void OnActionExecuting(ActionExecutingContext context)
 {
 }