title: How to call httpget instead of post for pageload in MVC5
body: <p>I have a create form in ASP.Net MVC5. When the page loads there is some data to be fetched from DB and on button submit click, the create controller should be called to save the data. The problem is when the page loads it always goes to HTTP POST method instead of the get method.(I know few such questions are already raised but nothing helps me here) If I rename HTTP POST method name, then it calls get method correctly. Having two actions with same name, it always calls HTTP POST method while page loads and button click doesn't call any action method.</p>
  
  <p>This is Sharepoint high trust provider app for ASP.Net MVC hence my URL will be different while browsing.</p>
  
  <p>My view and controllers looks like this. Is there anything wrong here?</p>
  
  <pre><code>@using (Html.BeginForm("Create", "Test"))    
  {    
  
      &lt;div class="form-horizontal"&gt;
                  &lt;div class="form-group"&gt;
                      @Html.LabelFor(model =&gt; model.Title, new { @class = "control-label col-md-2" })
                      &lt;div class="col-md-10"&gt;
                          @Html.EditorFor(model =&gt; model.Title)
                          @Html.ValidationMessageFor(model =&gt; model.Title)
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;div class="form-group"&gt;
                  &lt;div class="col-md-offset-2 col-md-10"&gt;
                      &lt;input type="submit" value="Create" class="btn btn-default" /&gt;
                  &lt;/div&gt;
              &lt;/div&gt;       
      &lt;/div&gt;
   }
  
  public ActionResult Create()    
  {   
      MyModel model = new MyModel();
      string usersid = ((System.Security.Principal.WindowsIdentity)(HttpContext.User.Identity)).User.Value;
  
              //Bind Board details
              eDataAccess mda = new eDataAccess();
              ExtDataTable committees = mda.GetList(usersid, "--url--");
  
              GetAllUserList(model.comitteeslist.FirstOrDefault().Value, usersid);
  
              // few logic
  
             return View(model);
  }
  
      [HttpPost]     
      public ActionResult Create(MyModel model)    
      {
  string usersid = ((System.Security.Principal.WindowsIdentity)(HttpContext.User.Identity)).User.Value;
     // few logic
                  int id = Utilities.Create(model.Title, usersid, 2057, 6297,
                     model.desc, false, model.start, model.end);
  
          return View();
      }
  </code></pre>