Exemplo n.º 1
0
 public EditPlayerModel(IPlayerRetriever playerRetriever, IPlayerUpdater playerUpdater, ICreator <Player> playerCreator, IWebHostEnvironment env)
 {
     this.playerRetriever = playerRetriever;
     this.playerUpdater   = playerUpdater;
     this.playerCreator   = playerCreator;
     this.env             = env;
 }
Exemplo n.º 2
0
 public GameCreator(IGameRepository gameRepository, IPlayerUpdater playerUpdater, ITeamUpdater teamUpdater)
 {
     this.gameRepository = gameRepository;
     this.playerUpdater  = playerUpdater;
     this.teamUpdater    = teamUpdater;
 }