View Single Post
  #1 (permalink)  
Old July 25th, 2009, 06:44 AM
philthy philthy is offline
Authorized User
Join Date: Mar 2007
Location: , , Denmark.
Posts: 52
Thanks: 6
Thanked 2 Times in 2 Posts
Default Action Method to handle POST, ex. ManageUser

There is one version of the ManageUser action with the
"[Authorize(Roles = "Admin")]" attribute on it. In the ManageUser View, there is a <form method="post" action="ManageUser">

The way I understand it, there should be a ManageUser action with an
[AcceptVerbs("POST")] attribute, to handle what is posted by the user, right?

How come it is possible to do it in this way, when other Action methods has an overloaded version to handle POST?

I don't see the difference...