DistillingExperts
asked on
Error following MVC tutorial: The current request for action 'Create' on controller type 'HomeController' is ambiguous between the following action methods:
I am having the following error in Create when following the tutorial below:
The current request for action 'Create' on controller type 'HomeController' is ambiguous between the following action methods:
System.Web.Mvc.ActionResul t Create(System.Web.Mvc.Form Collection ) on type ContactManager.Controllers .HomeContr oller
System.Web.Mvc.ActionResul t Create(ContactManager.Mode ls.Contact ) on type ContactManager.Controllers .HomeContr oller
http://www.asp.net/mvc/tutorials/iteration-1-create-the-application-cs
The current request for action 'Create' on controller type 'HomeController' is ambiguous between the following action methods:
System.Web.Mvc.ActionResul
System.Web.Mvc.ActionResul
http://www.asp.net/mvc/tutorials/iteration-1-create-the-application-cs
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did you place the attribute
[AcceptVerbs(HttpVerbs.Pos
above the, POST: /Home/Create, Action method?
Fernando