public void Handle(MatchCompleted e) { var match = Tournaments .SelectMany(x => x.DivisionSchedules) .SelectMany(x => x.Games) .SingleOrDefault(x => x.Id == e.Id); match.IsComplete = true; }
public void Apply(MatchCompleted e) { IsComplete = true; }
public void Handle(MatchCompleted e) { var match = Matches[e.Id]; match.IsComplete = true; }