Ejemplo n.º 1
0
 public static bool ControllerIsEqualTo(this ActionExecutingContext filterContext, EController eControllerName)
 {
     return(filterContext.ControllerName().IsEqualTo(eControllerName.ToString()));
 }
Ejemplo n.º 2
0
 public static bool ControllerIsEqualsThan(this ActionExecutingContext filterContext, EntityType entityType)
 {
     return(filterContext.ControllerName().IsEquals(entityType.ToString()));
 }