public void UpdateScrimSeriesMatchResults(int seriesMatchNumber, ScrimSeriesMatchResultType seriesMatchResultType)
        {
            var existingResult = GetScrimSeriesMatchResult(seriesMatchNumber);

            if (existingResult != null)
            {
                existingResult.ResultType = seriesMatchResultType;
            }
            else
            {
                ScrimSeriesMatchResults.Add(new ScrimSeriesMatchResult(seriesMatchNumber, seriesMatchResultType));
            }
        }
Exemple #2
0
 public ScrimSeriesMatchResult(int seriesMatchNumber, ScrimSeriesMatchResultType matchResultType)
 {
     MatchNumber = seriesMatchNumber;
     ResultType  = matchResultType;
 }