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