class BreakTimeServiceImpl implements BreakTimeService {

    @Override
    public BreakTime findById(Long id) {
        log.info(LogMessage.IN_FIND_BY_ID, id);

        return repo
            .findById(id)
            .orElseThrow(
                () -> new NotFoundException(ErrorMessage.BREAK_TIME_NOT_FOUND_BY_ID + id));
    }

}