public void UpdateBook() { String updId = Prompt("UPDATE:\nEnter book number for update"); String title = db.GetTitle(updId); if (title == "") { Console.WriteLine("Book not found"); return; } Console.WriteLine($"Title: {title}"); String updName = Prompt("Enter new book's title"); Console.WriteLine($"{db.UpdateBook(updId, updName)} Book name was updated"); Console.WriteLine($"Authors: {db.GetAuthors(updId)}"); String updAuthors = Prompt("Coma separater lisn for add (<name>) or delete ( -<name> )"); db.UpdateAuthors(updId, updAuthors); }