Beispiel #1
0
 protected function GenerateResponse()
 {
     try {
         $this->response = CargosYAbonosController::EditarGasto(isset($_POST['id_gasto']) ? $_POST['id_gasto'] : null, isset($_POST['descripcion']) ? $_POST['descripcion'] : null, isset($_POST['fecha_gasto']) ? $_POST['fecha_gasto'] : null, isset($_POST['folio']) ? $_POST['folio'] : null, isset($_POST['id_concepto_gasto']) ? $_POST['id_concepto_gasto'] : null, isset($_POST['nota']) ? $_POST['nota'] : null);
     } catch (Exception $e) {
         //Logger::error($e);
         throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage()));
     }
 }