class BookService implements Service {

    public BookRepresentaion getBookById(String id) {
        Book book = bookRepository.byId(id);
        return book.toRepresentation();
    }

    public  BookService(BookFactory bookFactory, BookRepository bookRepository);

}