This project is read-only.

Chapter 2 Controllers - StoreController

Jan 2, 2013 at 6:20 PM
Edited Jan 4, 2013 at 1:54 PM

All right something doesn't goes as it should be.....


After changing the string into Actioresult in the StoreController for Browse and Details the 

 browser shows in the store only the text "Hello from Store.Index()" no views or what so ever???


After creating an Model class for Genre and Album I still get the same string  "Hello from Store.Index()"


I think that in the Store.controller were we have to change the public string to ActionResult there was no explanation about the Get: /Store/ public string Index()        {            return "Hello from Store.Index()";        }


I have done everything that has been explained but still......or didn't I put the cursor in the right place by creating the index.cshtml, I believe I did after checking it again....