Example #1
0
 public Match SendResult(int tournamentId, int matchId, string winnerId, string scoreCsv)
 {
     var client = new WebClient();
     return client.Put<MatchPutRequest, Match>(
             string.Format("tournaments/{0}/matches/{1}.json", tournamentId, matchId),
             new MatchPutRequest { WinnerId = winnerId, ScoresCsv = scoreCsv });
 }