title: Submit button not working! MVC
body: <pre><code>@model CommonLayer.ORDER
  @{
  ViewBag.Title = "Update";
  Layout = "~/Views/Shared/_Layout.cshtml";
  }
  
  &lt;h4&gt;Update Order Status&lt;/h4&gt;
  &lt;br /&gt;
  
  @if (Model.OrderStatus != "Shipped")
  {
  using (Html.BeginForm())
  {
      @Html.AntiForgeryToken()
  
      &lt;div class="form-horizontal"&gt;
          @Html.ValidationSummary(true)
          @Html.HiddenFor(model =&gt; model.UserId)
  
          &lt;div class="form-group"&gt;
              @Html.LabelFor(model =&gt; model.OrderId, htmlAttributes: new { @style = "font-size:medium", @class = "control-label col-md-2" })
              &lt;div class="col-md-10"&gt;
                  @Html.EditorFor(model =&gt; model.OrderId, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
              @Html.LabelFor(model =&gt; model.OrderStatus, htmlAttributes: new { @style = "font-size:medium", @class = "control-label col-md-2" })
              &lt;div class="col-md-10"&gt;
                  &lt;select class="form-control" name="OrderStatus"&gt;
                      &lt;option value="Pending" id="pending"&gt;Pending&lt;/option&gt;
                      &lt;option value="Shipped" id="shipped"&gt;Shipped&lt;/option&gt;
                  &lt;/select&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
              @Html.LabelFor(model =&gt; model.OrderDate, htmlAttributes: new { @style = "font-size:medium", @class = "control-label col-md-2" })
              &lt;div class="col-md-10"&gt;
                  @Html.EditorFor(model =&gt; model.OrderDate, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
              @Html.LabelFor(model =&gt; model.OrderNumber, htmlAttributes: new { @style = "font-size:medium", @class = "control-label col-md-2" })
              &lt;div class="col-md-10"&gt;
                  @Html.EditorFor(model =&gt; model.OrderNumber, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;form action="/order/update/@Model.OrderId" method="post" enctype="multipart/form-data"&gt;
              &lt;div class="form-group"&gt;
                  &lt;div class="col-md-offset-2 col-md-10"&gt;
                      &lt;input type="submit" value="Update" class="btn btn-primary" /&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  }
  }
  else
  {
  &lt;h4&gt;Order Has Been Shipped!&lt;/h4&gt;
  }
  </code></pre>
  
  <p>My submit button isn't working regardless of the correct syntax being used. When I press the button nothing happens, as if I haven't clicked it, no redirecting whatsoever. </p>
  
  <p>Was working until yesterday. Did not change any code whatsoever regarding the form or corresponding controller.</p>
  
  <p>This is the controller corresponding to the form.</p>
  
  <pre><code>[HttpGet]
      [Authorize(Roles = "ADM")]
      public ActionResult Update(Guid Id)
      {
          BusinessLayer.Orders order = new BusinessLayer.Orders();
          return View(order.GetOrder(Id));
      }
  
      [HttpPost]
      [Authorize(Roles = "ADM")]
      public ActionResult Update(CommonLayer.ORDER order, Guid id)
      {
          BusinessLayer.Orders blorder = new BusinessLayer.Orders();
          blorder.UpdateOrder(order);
          return RedirectToAction("UpdateDetails", new {id=id});
      }
  </code></pre>