a model is returned to the form in which parameter "Raion" bool has a value of true or false.
How to make it so that CheckBox itself takes the required value?
@(Html.Kendo().CheckBox().Name("Raion").Label("Выезд на район"))
public class ServiceViewModel
{
*****
public bool Raion { set; get; }
****
}
@model service.Models.ServiceViewModel@(Html.Kendo().CheckBox().Name("Raion").Label("Выезд на район"))