common/src/main/java/org/flowant/website/repository/RelationshipService.java
public static <T extends ReputationCounter> Mono<T> updateReputation(T reputationCounter) {
        ReputationRepository<?> repo = repoReputation.get(reputationCounter.getClass());
        return repo.updateReputationById(reputationCounter.getIdCid(), reputationCounter.toReputation())
                .thenReturn(reputationCounter);
    }
// Update counter values or create row if not exist from XReputationRepository to XRepository.
Update counter values or create row if not exist from XReputationRepository to XRepository.
Update counter values or create row if not exist from XReputationRepository to XRepository .
public static <T extends ReputationCounter> Mono<T> updateReputation(T reputationCounter) {
        ReputationRepository<?> repo = repoReputation.get(reputationCounter.getClass());
        return repo.updateReputationById(reputationCounter.getIdCid(), reputationCounter.toReputation())
                .thenReturn(reputationCounter);
    }
public static < T extends ReputationCounter > Mono < T > updateReputation ( T reputationCounter ) { ReputationRepository < ? > repo = repoReputation . get ( reputationCounter . getClass ( ) ) ; return repo . updateReputationById ( reputationCounter . getIdCid ( ) , reputationCounter . toReputation ( ) ) . thenReturn ( reputationCounter ) ; }
Update counter values or create row if not exist from XReputationRepository to XRepository.
Update counter values or create row if not exist from XReputationRepository to XRepository .