Create New Review problem

Apr 16, 2012 at 4:23 AM

Hi Scott et al.

Watching the well done videos at asp.net/mvc

Downloaded the latest source and tried to add a new Review.

I would like to know if the latest source has complete working code ?

Create A New Review:  I notice that there is NO way to specify a Restaurant on the form and the code fails because there is no Restaurant ID being passed in.

Anyone have the updated view and model code ? Alas, will have to watch the video and make the changes then.

Thanks, Paul

 

 

 

Apr 16, 2012 at 3:34 PM

Hi all,

Also, I now see that there is no UI to add a new Restaurant. I know that there is initialization code for a few restaurants in class:

OdeToFoodDBInitializer.

 Thus, the workflow should have find Restaurant or add a restaurant and then a review. Maybe, the code I have downloaded isn't the final ?

Thanks, LA Guy

 

Apr 16, 2012 at 10:46 PM

Hi all,

Ok, I  downloaded the working source code.

Scott emailed me and said that  changeset

c9a79a633279

has the up to date code from the end of the MVC videos.

==============

Found one bug here:

Clicking Edit link for a Restaurant fails

Resource not found

http://localhost:49237/Restaurant/Edit/6

Thanks, LA Guy