public function delete($id) { $applicantModel = new applicantModel(); $applicantModel->delete($id); $screenModel = new screenModel(); $screenModel->delete_applicant_screens($id); $this->view_all(); }