src/main/java/de/otto/teamdojo/service/impl/TeamServiceImpl.java
@Override
    @Transactional(readOnly = true)
    public Optional<TeamDTO> findOne(Long id) {
        log.debug("Request to get Team : {}", id);
        return teamRepository.findOneWithEagerRelationships(id)
            .map(teamMapper::toDto);
    }
/**
     * Get one team by id.
     *
     * @param id the id of the entity
     * @return the entity
     */
Get one team by id.
@param id the id of the entity
@return the entity
Get one team by id . @param id the id of the entity @return the entity
@Override
    @Transactional(readOnly = true)
    public Optional<TeamDTO> findOne(Long id) {
        log.debug("Request to get Team : {}", id);
        return teamRepository.findOneWithEagerRelationships(id)
            .map(teamMapper::toDto);
    }
@ Override @ Transactional ( readOnly = true ) public Optional < TeamDTO > findOne ( Long id ) { log . debug ( "Request to get Team : {}" , id ) ; return teamRepository . findOneWithEagerRelationships ( id ) . map ( teamMapper :: toDto ) ; }
Get one team by id.
Get one team by id .