I am looking to implement a checkboxlist in ASP.NET Core, but am facing some difficulties.
My ViewModel:
public class GroupIndexViewModel { public
I would do following way.
@model GroupIndexViewModel @for (var i = 0; i < Model.Filters.Count; i++) { @Model.Filters[i].Name } Filtrer
Here I assuming that you have proper implementation of controller and action.