public bool ReadBook(UserBook book) { if (HasBook(book)) { CurrentBook = book; return(true); } return(false); }
public bool HasBook(UserBook book) => Books.ContainsKey(book.Id);
public bool DeleteBook(UserBook book) => Books.Remove(book.Id);