public IActionResult Index() { GroupingModel model = new GroupingModel(); model.NPlayersPerGroup = 2; // Default return(View(model: model)); }
public IActionResult Index(GroupingModel model) { _matchCreatorService.SetPlayersPerMatch(model.NPlayersPerGroup); return(View("AddPlayers", model: model)); }