Exemplo n.º 1
0
 public static bool ControllerIsEqualTo(this ResultExecutingContext filterContext, EController eControllerName)
 {
     return(filterContext.ControllerName().IsEqualTo(eControllerName.ToString()));
 }
Exemplo n.º 2
0
 public static bool ControllerIsEqualsThan(this ExceptionContext filterContext, EController eControllerName)
 {
     return(filterContext.ControllerName().IsEqualTo(eControllerName.ToString()));
 }