private void ScoreMatches(List <Match> matches) { foreach (var match in matches) { switch (match.indexes.Count) { case 3: _roundController.ScoreMatch3(); break; case 4: _roundController.ScoreMatch4(); break; case 5: _roundController.ScoreMatch5(); break; } } }