In my ASP.Net MVC website, whenever a user registers, the admin should activate his/her account. In my view, I'm creating simple links for this:
@Html.ActionLink("activate", "user", new { id = item.ID })"
I usually would create a form with a @Html.AntiForgeryToken()
and POST
it to the controller. However, I think it might be OK to do this via HTTP GET since we're doing this for users which are in admin
role. Should I use the POST method or is it OK to continue with the HTTP GET and just an id
field?