public function deleteresumeAction()
 {
     $cand_details_model = new Default_Model_Candidatedetails();
     $data = array('cand_resume' => NULL, 'cand_resume_deletedby' => $cand_details_model->getLoginUserId());
     $where = 'id="' . $this->_getParam('rec_id') . '"';
     // To empty resume name in DB
     $message = $cand_details_model->SaveorUpdateUserData($data, $where);
     // To remove resume file from folder
     if ($message == 'update') {
         @unlink(UPLOAD_PATH_RESUMES . "/" . $this->_getParam('resume_name'));
     }
     $this->_helper->json(array('action' => $message));
 }