I am following a tutorial for ASP.NET MVC3. My local environment is MVC5 in Visual Studio Premium 2013, version 12. I would like to now add a new controller. The tutorial shows the ability to add CRUD action methods by simply checking a box entitled "Add action methods for Create, update, delete, and Details scenarios" as seen here:
In my current setup, the Add Controller prompt now looks as follows:
Which of these options best mimics the MVC3 default CRUD checkbox?
答案 0 :(得分:0)
After trial and error, under the dropdown for Template, MVC Controller with empty read/write actions will generate the Create, Update, and Details methods desired without further specifying any library extensions.