コード例 #1
0
 public virtual ActionResult DeleteContestant(long tournamentId, long?id)
 {
     if (id == null)
     {
         throw new ArgumentException("Contestant ID must be set");
     }
     TournamentService.DeleteContestant(id.Value);
     return(this.RedirectToAction(MVC.Admin.TournamentAdmin.ContestantList(tournamentId, new long?())));
 }