GET and POST to same Controller Action in ASP.NET MVC

Viewed 66237

I'd like to have a single action respond to both Gets as well as Posts. I tried the following

[HttpGet]
[HttpPost]
public ActionResult SignIn()

That didn't seem to work. Any suggestions ?

3 Answers
Related