示例#1
0
        public IActionResult Index()
        {
            GroupingModel model = new GroupingModel();

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