private bool BookAvailable(string id, int quantity) { return(DbFunctions.BookAvailable(id, quantity, db)); }