public function deleteassignmentAction() { $request = $this->getRequest(); $id = $request->getParam('id'); $id = $this->_helper->IdConvert->hexToStr($id); $logic = new Logic_Branch(); try { $logic->deleteBranchMpkAssignment($id); $translate = new Zend_View_Helper_Translate(); $this->_helper->messenger("success", $translate->translate('Branch assignment was successfully deleted.')); $this->_helper->redirector('listassignment'); } catch (Logic_Branch_Exception $e) { $this->_helper->error(MSG_ERROR, $e); } $this->_helper->redirector('listassignment'); }