Esempio n. 1
0
        public void AddElectionToRound(Guid roundId, Guid playerId)
        {
            var entities = ValidateIds(roundId, playerId);

            _ledgerService.MakeElection(playerId, roundId);

            entities.Item1.EntrantPlayerIds.Add(playerId);
            UpdateEntity(entities.Item1, a => a.Id == roundId);
        }