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