@using WebItemOfListDemo;
ViewData["Title"] = "Home Page";
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
@foreach (var item in Model)
<form action="@Url.Action("someaction","Home")" controller="Home" method="post">
<input type="hidden" asp-for="@item.a" />
<input type="hidden" asp-for="@item.b" />
<input type="hidden" asp-for="@item.c" />
<input type="hidden" asp-for="@item.d" />
<input type="hidden" asp-for="@item.Guid" />
@Html.DisplayFor(model => model[0].a)
@Html.DisplayFor(model => model[0].b)
@Html.DisplayFor(model => model[0].c)
<input asp-for="@item.istrue" type="radio" value="@item.istrue" class="form-check form-control" /> @item.istrue
<input asp-for="@item.istrue" type="radio" value="False" class="form-check form-control" />
<input asp-for="@item.istrue" type="radio" value="@item.istrue" class="form-check form-control" /> @item.istrue
<input asp-for="@item.istrue" type="radio" value="True" class="form-check form-control" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="//ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
<script src="//ajax.aspnetcdn.com/ajax/mvc/4.0/jquery.validate.unobtrusive.min.js"></script>
<script type="text/javascript">
$('input[type=radio]').on('click', function () {
console.log($(this).closest('form').serialize());
$(this).closest('form').submit();