public List <Book> GetBooksByEditor(string bookEditorName) { return(Books.FindAll(b => b.EditorName == bookEditorName)); }
public List <Book> GetBooksByAuthor(string bookAuthorName) { return(Books.FindAll(b => b.AuthorName == bookAuthorName)); }
public List <Book> GetBooks(bool bookState) { return(Books.FindAll(b => b.State == bookState)); }
public List <Book> GetBooks(int bookBorrowCount) { return(Books.FindAll(b => b.BorrowCount == bookBorrowCount)); }
public List <Book> GetBooks(string bookTitle) { return(Books.FindAll(b => b.Title.ToLower().Contains(bookTitle.ToLower()))); }