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