public void UpdateScrimSeriesMatchResults(int seriesMatchNumber, ScrimSeriesMatchResultType seriesMatchResultType) { var existingResult = GetScrimSeriesMatchResult(seriesMatchNumber); if (existingResult != null) { existingResult.ResultType = seriesMatchResultType; } else { ScrimSeriesMatchResults.Add(new ScrimSeriesMatchResult(seriesMatchNumber, seriesMatchResultType)); } }
public ScrimSeriesMatchResult(int seriesMatchNumber, ScrimSeriesMatchResultType matchResultType) { MatchNumber = seriesMatchNumber; ResultType = matchResultType; }