Example #1
0
        public virtual ActionResult NextContestant(long tournamentId)
        {
            var tourney = TournamentService.GetTournamentGuarded(tournamentId);

            TournamentService.NextRun(tourney);
            _hub.CurrentContestantChanged(tournamentId);
            return(this.RedirectToAction(MVC.Speaker.TournamentSpeaker.SpeakerIndex(tournamentId, null)));
        }
Example #2
0
 public virtual ActionResult ResetRound(long tournamentId, int roundNo)
 {
     TournamentService.ResetRound(tournamentId, roundNo);
     _hub.CurrentContestantChanged(tournamentId);
     return(RedirectToAction(MVC.Admin.TournamentAdmin.EditTournament(tournamentId)));
 }