Beispiel #1
0
 public TeamOverviewHto(TeamReadModel team)
 {
     TeamTeamName    = team.TeamName;
     TeamTeamId      = team.TeamId;
     TeamTrainerName = team.TrainerName;
     RaceId          = team.RaceId;
     TeamIsFinished  = team.IsFinished;
 }
Beispiel #2
0
 public TeamWithPlayersHto(TeamReadModel team, IEnumerable <PlayerReadModel> playerReadModels)
 {
     Team       = team;
     PlayerList = playerReadModels;
 }