public class PlayerVM
{
public int Id { get; set; }
public string Name { get; set; }
public bool Choosen {get;set;}
public int TeamId { get; set; }
public Team Team { get; set; }
}
@Html.CheckBoxFor(player => player.Choosen, false); // Передаем переменную и инициализируем начальное значение.
getCategoryListWithBinding() {
return <CategoryList onDisplayForm={this.onDisplayForm}
urlGetEntities={this.urlGetEntities}
urlDelete={this.urlDelete}
urlImport={this.urlImport}
urlExport={this.urlExport} />
}