public void SetCoverImage(Book book, string imagePath) { if (book == null) { throw new ArgumentNullException("Book cannot be null."); } book.SetCoverImage(imagePath); }