private static function treat(Route $route, $params)
    {
        // in case of get request or post request
        if (($route->getMethod() == 'post' && Request::isPost()) || ($route->getMethod() == 'get') || ($route->getMethod() == 'resource') || ($route->getMethod() == 'call')) {
            return static::execute($route, $params);
        }

        return false;
    }