public function studentsDeleteAction($studentsId)
 {
     if ($this->loginStatus) {
         $studDelModelObj = new \models\StudentsDeleteModel();
         $studDelModelObj->deleteStudent($studentsId);
         $studListControllerObj = new \controllers\StudentsListController();
         $studListControllerObj->studentsListAction();
     } else {
         $out = \views\LoginPleaseView::getLoginMessage();
         $this->printIndexPage($out);
     }
 }
 public static function run()
 {
     session_start();
     /*
      * Array which contains controllerName, controllerAction and arguments.
      *
      * @var array
      * */
     $route = Router::getRoute();
     if (isset($route['controllerName'])) {
         $controllerObj = new $route['controllerName']();
         call_user_func_array(array($controllerObj, $route['controllerAction']), $route['actionArgs']);
     } else {
         $studListControllerObj = new \controllers\StudentsListController();
         $studListControllerObj->studentsListAction();
     }
 }