public function assign($name, $value)
    {
        if (!isset($this->view)) {
            throw new ViewException('Please Define view engine in app/View.php', 500);
        }

        return $this->view->assign($name, $value);
    }