class TipsAndTricksServiceImpl implements TipsAndTricksService {

    @Cacheable(value = CacheConstants.TIPS_AND_TRICKS_CACHE_NAME)
    @Override
    public PageableDto<TipsAndTricksDtoResponse> findAll(Pageable page) {
        Page<TipsAndTricks> pages = tipsAndTricksRepo.findAllByOrderByCreationDateDesc(page);

        return getPagesWithTipsAndTricksResponseDto(pages);
    }

}