I\'m doing the mvcmusicstore practice tutorial. I noticed something when creating the scaffold for the album manager (add delete edit).
I want to write code elegantl
You have to cast IQueryable to DbSet
var dbSet = (DbSet) db.Set().Include("");
return dbSet.Find(id);