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