O People I'm at www.asp.net It has been written for ASP.NET MVC1. Although most of the stuff works for MVC3, I have a question about this code:
ASP.NET MVC 1.0 (directly from the tutorial) (
[AcceptVerbs (HttpVerbs.Post)); {_entities.AddToContactSet ( Try contactToCreate; _entities.SaveChanges (); Return Redirect Action ("Index");} Hold {Return View ();}} ASP.NET MVC 3 ( Microsoft Action Project by Micro 3 project generated by Microsoft 3 Project)
[HTTP post] Create public action roles (try {_details.edu.contacts (collection); // sync Error: Error: Check Changes (); Return Redirect Action ("Index");} Hold {Return View ();}} So my question is that in the first case Contact Contact Contact why pass Es, but form Collection in the other?
I can easily replace the argument in another example, just contact the contact contact. , but I'm curious about what is this
Comments
Post a Comment