Aha... so on page 24, when I was instructed to:
"...change the StoreController’s Index action method to return that ViewModel" I wasn't supposed to replace EVERYTHING with the coding written there. I see, OK. That was completely unclear, so I replaced both the Browse and Details
methods with what was shown to me.
Separate question... I ran into a problem on page 26 - at the top of the page, it shows how my page should look when I add "NumberOfGenres" between <%:%>
Then, it tells me to add a foreach loop but, at the bottom of the page it shows what my template is supposed to look like, and it's not the same as the top at all.
Where the NumberOfGenres diagram is it shows "<h2>Store Name</h2>", but the completed diagram shows "<h3>Browse Genres</h3>"
So, I replaced <h2>Store Name</h2> with <h3>Browse Genres</h3>. And I replaced <p>Browsing <%: Model.NumberOfGenres%</p> with <p>Select from <%: Model.NumberOfGenres %> genres:</p>.
Is that correct?