@Override public Topic getTopic(String id) { return topicRepository.findOne(id); }
@Override public Topic updateTopic(Topic topic) { return topicRepository.save(topic); }
@Override public void deleteTopic(String id) { topicRepository.delete(id); }
@Override public Page<Topic> getTopics(PageRequest pageRequest) { return topicRepository.findAll(pageRequest); }