public static function updateStudentAction($studentID) { $studentRepository = new StudentModel(); $studentRepository->updateStudent($_POST, $studentID); header("Location: /ListStudents"); }