protected function GenerateResponse() { try { $this->response = CargosYAbonosController::EliminarConceptoIngreso(isset($_POST['id_concepto_ingreso']) ? $_POST['id_concepto_ingreso'] : null); } catch (Exception $e) { //Logger::error($e); throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage())); } }