This is concerning Listing 5-2 on page 112. I needed to add two code statements:
I added the following at the top of the program:
Code:
using MvcMusicStore.Models;
I added the following at the top of class HomeController:
Code:
private MusicStoreDB storeDB = new MusicStoreDB();
When I added the following, I got the program to work.