.NET MVC - Restaurant Menu System Part 4 - Calling Javascript functions from Razor

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

When I try to return a list of items to the dropdown from MenuGroups I only get the MenuGroup returned which matches the ID in the URL rather than ALL MenuGroups.

I looked in to this and it appears that in the MenuController, although the SQL Query returns all 3 groups only 1 is actually passed to the Model.

I have restarted this multiple times, checked through the code, restarted and copy/pasted from your wiki instead of writing to make sure I did not make any mistakes etc... but I cannot find the issue? The code is exactly as your code is because I copied and pasted then went through the videos step by step and checked at each stage yet I get different results!

Please could you help with this as I really would like to continue with the rest of your tutorial.

Thanks in advance.

danny__
Автор

where is part 3? thank you for tutorial :)

lopezzelo