Пример #1
0
 protected function GenerateResponse()
 {
     try {
         $this->response = EfectivoController::EditarMoneda(isset($_GET['id_moneda']) ? $_GET['id_moneda'] : null, isset($_GET['activa']) ? $_GET['activa'] : null, isset($_GET['nombre']) ? $_GET['nombre'] : null, isset($_GET['simbolo']) ? $_GET['simbolo'] : null);
     } catch (Exception $e) {
         //Logger::error($e);
         throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage()));
     }
 }