.netcore , Knockout and bootstrap


I have the checkboxes displayed in teh UI and when I click them I want to have the values of the checkboxes.

My Edit screen :

Account Types (Select all that apply)

@Html.DisplayNameFor(m => m.HasCheckingAccount)

@Html.DisplayNameFor(m => m.HasSavingsAccount)

@Html.DisplayNameFor(m => m.HasDebitOrCreditCard)

How do I write code so that the value of the checkbox is displayed.

.NET Foundation Website | Blog | Projects | Code of Conduct