I have looked at various ways of reading CheckBook values in my Index.cshtml file but so far none seem to work for me.

```
 <!DOCTYPE html>
 <html lang="en">
 <head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Logger Index</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" />
</head>
<body>

@using (Html.BeginForm(new { action = "Employees" }))
{
    <header>
        <fieldset>
            <div>
                @Html.CheckBox("item1", true))
                <label for="coding">Coding</label>
            </div>
            <div>
                @Html.CheckBox("item1", false)
                <label for="music">Music</label>
           </div>
        </fieldset>
        <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
            <div class="container">
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent"
                        aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <ul class="navbar-nav flex-grow-1">
                    <li>@Html.ActionLink("Logger", "Employees", new { area = "" }, new { @class = "navbar-brand" }),</li>
                </ul>

```

.........

My Model is

```
  public class Employees
  {
    public int EmployeeID { get; set; }
    public string LastName { get; set; }
    public string FirstName { get; set; }
    public string Address { get; set; }
    public string City { get; set; }
    public string Region { get; set; }
    public string PostalCode { get; set; }

    public bool item1 { get; set; }
    public bool item2 { get; set; }
    public class LogBookContext : DbContext
    {
        public DbSet<Employees> Employees { get; set; }
    }
}

```

My Post in the Controller is

```
 public IActionResult Employees()
    {

        string query = "SELECT EmployeeID,FirstName,Lastname,Address,City,Region,PostalCode FROM Employees";
        SqlDataAdapter adap = new SqlDataAdapter(query, "Data Source=Owner-PC;Initial Catalog=NORTHWND;Integrated Security=True");
        DataTable data = new DataTable();
        adap.Fill(data);
        return View(data);
    }

```

What I am attempting is to return various checkBox values to use to create the query string instead of a fixed query string.