title: Why is a function without attribute is being called in ASP.NET MVC even though the request is a post request?
body: <p>I'm following this tutorial:</p>
  
  <p><a href="http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view" rel="nofollow">http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</a></p>
  
  <p>It describes a situation when a user click a button and then a function without an attribute is called.</p>
  
  <p>But when a function with HttpPost attribute is added, this function is called and not the function without the attribute.</p>
  
  <p>The button initiates Html.BeginForm() which creates a post request. So why did the function without the attribute got called?</p>