Pass boolean value by checkbox
<p>I would like to pass my bool value by checkbox.</p>

<p>Here's my property</p>

<pre><code>  public bool MyBooleanValue{ get; set; } = true;
</code></pre>

<p>and here;s my HTML:</p>

<pre><code>&lt;input type="checkbox" id="@nameof(Model.MyBooleanValue)" name="my-boolean" value="1" class="" checked="checked" /&gt;

&lt;label for="@nameof(Model.MyBooleanValue)"&gt;some text&lt;/label&gt;

&lt;input type="hidden" name="my-boolean" value="true" /&gt;
</code></pre>

<p>In default I would like to have checked field. What's wrong with this code ?
I use ASP.NET MVC 5.
I always get the same value </p>