private CommandReplay GenerateCommandReplay(PokerCommand command) { var list = _gameProvider.GetAllPlayers(); CommandReplay commandReplay = new CommandReplay(); commandReplay.Command = command; commandReplay.Players.AddRange(list); return(commandReplay); }