private void LoadWithFind(BookDbContext context, int id) { var book = context.Find <Book>(id); }
public Book Get(int id) { return(_db.Find <Book>(id)); }
private void LoadWithFind(BookDbContext context, int id) { var book = context.Find <Book>(id); }
public Book Get(int id) { return(_db.Find <Book>(id)); }