public Book AddBook(int authorId, Book book) { ValidateAuthor(authorId); book.AuthorId = authorId; var bookCreated = authorsRepository.CreateBook(book); return(bookCreated); }