internal Book(string title, string author) { BookValidator.ValidateForCreation(title, author); Title = title; Author = author; }
internal void UpdateAuthor(string newAuthor) { BookValidator.ValidateAuthor(newAuthor); Author = newAuthor; }
internal void UpdateTitle(string newTitle) { BookValidator.ValidateTitle(newTitle); Title = newTitle; }