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