Wartość wyboru Niezbędna po powrocie modelu widoku
@model BlogPostsVM
@using (Html.BeginForm("Index", "yourControllerName", FormMethod.Get))
{
@Html.LabelFor(m => m.IncludeUserPostsOnly)
@Html.CheckBoxFor(m => m.IncludeUserPostsOnly)
<input type="submit" value="Search" />
}
Samir