public function deleteTemplateAction() { $templateId = $this->_getParam('id'); try { $historyService = new Application_Service_HistoryService(); $historyService->deleteTemplate($templateId); } catch (Exception $e) { Logging::info($e); Logging::info($e->getMessage()); } }