예제 #1
0
 public static bool ActionIsEqualTo(this ActionExecutingContext filterContext, EAction eActionName)
 {
     return(filterContext.ActionName().IsEqualTo(eActionName.ToString()));
 }
예제 #2
0
 public static bool ActionIsEqualsThan(this ActionExecutingContext filterContext, ActionType actionType)
 {
     return(filterContext.ActionName().IsEquals(actionType.ToString()));
 }