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