Example #1
0
 public Match(Guid id, Team homeTeam, Team awayTeam)
 {
     Id       = id;
     _teams   = new List <Team>();
     HomeTeam = homeTeam;
     AwayTeam = awayTeam;
     _teams.Add(homeTeam);
     _teams.Add(awayTeam);
     Stats = new MatchStats(homeTeam, awayTeam);
 }
Example #2
0
 public void SetMatchStatus(MatchStats matchStats)
 {
     _matchStatus = matchStats;
 }