public void Update(string id, Models.Book bookIn) => _books.ReplaceOne(book => book.Id == id, bookIn);
public void Delete(Models.Book bookIn) => _books.DeleteOne(book => book.Id == bookIn.Id);
public Models.Book Insert(Models.Book book) { _books.InsertOne(book); return(book); }