Ejemplo n.º 1
0
 public static bool IsEqualsToAccountOrLogin(this ActionExecutingContext filterContext)
 {
     return(filterContext.ControllerIsEqualsThan(EntityType.Account) || filterContext.ActionIsEqualsThan(ActionType.Login) || filterContext.ActionIsEqualsThan(ActionType.ExternalLogin));
 }