class TipsAndTricksServiceImpl implements TipsAndTricksService {

    @CacheEvict(value = CacheConstants.TIPS_AND_TRICKS_CACHE_NAME, allEntries = true)
    @Override
    public void delete(Long id) {
        tipsAndTricksRepo.deleteById(findById(id).getId());
    }

}