title: Asp.net MVC: Multiple areas having same controller and action method - Html.BeginForm with Post action
body: <p>I'm using areas feature of Asp.net MVC. </p>
  
  <p>Two different areas with same name controllers: </p>
  
  <p><img src="https://i.stack.imgur.com/iNk0X.png" alt="Two area with same controller name"></p>
  
  <p>AdminAreaRegistration.cs
  <img src="https://i.stack.imgur.com/jsMfG.png" alt="enter image description here"></p>
  
  <p>UserAreaRegistration.cs
  <img src="https://i.stack.imgur.com/nm2ln.png" alt="enter image description here"></p>
  
  <p>I would like to have a form that posts to the following method:</p>
  
  <pre><code> @using (Html.BeginForm("UserLogin", "Login", 
   new { area = "", model = this.Model, returnUrl = Request.QueryString["returnUrl"] },      
   FormMethod.Post, new { @Id = "frmLogin" }))
  </code></pre>
  
  <p>But i got an error:</p>
  
  <p><img src="https://i.stack.imgur.com/I7G9s.png" alt="enter image description here"></p>
  
  <p>How can i solve it with multiple areas have same name controller and post method using Html.BeginForm()?</p>