title: ASP.NET MVC bool value returned from the view is 1 or 0
body: <p>I am using ASP.NET MVC, and I have some problems using a CheckBoxFor. Here is my problem:</p>
  
  <p>I have the following code in the view:</p>
  
  <pre><code>@Html.CheckBoxFor(model =&gt; model.stade, new { @id = "stade" })
  </code></pre>
  
  <p><code>model.stade</code> is of type bool. In my controller, I have:</p>
  
  <pre><code>//Editar
  [HttpPost]
  public ActionResult InvoiceType(int Id, string Name, string Code, string Stade)
  {
      clsInvoiceTypea Model = new clsInvoiceType();
      Model.Id = Id;
      Model.Name = Name;
      Model.Code = Code;
      Model.Stade = stade== "1" ? true : false;
      return PartialView(Model);
  }
  </code></pre>
  
  <p>I get an error, because when <code>Model.Stade</code> is submitted to the view the value is 1 or 0, and I get an error saying "Can not recognize the string as a valid Boolean", but if Model.stade is boolean why the model is submitted to the view like 0 or 1? How I can I resolve this?</p>