public function deleteAction()
{
try {
$this->_helper->service('package')->delete($this->_getParam('id'));
$this->_helper->json(array());
} catch (Exception $e) {
$this->_helper->json(array('exception' => array('code' => $e->getCode(), 'message' => $e->getMessage())));
}
}