How do I find out whether a GET or a POST hit my ASP.NET MVC controller action?
You can check Request.HttpMethod for that.
Request.HttpMethod
if (Request.HttpMethod == "POST") { //the controller was hit with POST } else { //etc. }