Example #1
0
 protected function GenerateResponse()
 {
     try {
         $this->response = ClientesController::EliminarAval(isset($_POST['avales']) ? json_decode($_POST['avales']) : null, isset($_POST['id_cliente']) ? $_POST['id_cliente'] : null);
     } catch (Exception $e) {
         //Logger::error($e);
         throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage()));
     }
 }