public List<Post> findAuthorPosts(Long id) { return postRepository.findByAuthor(authorRepository.findOne(id)); }
public Author findById(Long id) { return authorRepository.findOne(id); }