class RepositoryBookmarkService implements BookmarkService {

    @Override
    @Transactional(readOnly = true)
    public boolean userHasBookmark(User user, Project project) {
        return userRepo.existsByIdAndBookmarksContaining(user.getId(), project);
    }

    @Autowired public  RepositoryBookmarkService(UserRepository userRepo);

}