BusinessLogic.Logic.PlayedGames.PlayedGameSaver.DoPostSaveStuff C# (CSharp) Метод

DoPostSaveStuff() приватный Метод

private DoPostSaveStuff ( TransactionSource transactionSource, ApplicationUser currentUser, int playedGameId, int gameDefinitionId, List playerGameResults ) : void
transactionSource TransactionSource
currentUser ApplicationUser
playedGameId int
gameDefinitionId int
playerGameResults List
Результат void
        internal virtual void DoPostSaveStuff(TransactionSource transactionSource,
            ApplicationUser currentUser, int playedGameId, int gameDefinitionId, List<PlayerGameResult> playerGameResults)
        {
            _playedGameTracker.TrackPlayedGame(currentUser, transactionSource);

            foreach (var result in playerGameResults)
            {
                _nemesisRecalculator.RecalculateNemesis(result.PlayerId, currentUser);
            }
            _championRecalculator.RecalculateChampion(gameDefinitionId, currentUser, false);

            SendEvents(new IBusinessLogicEvent[] {new PlayedGameCreatedEvent() {TriggerEntityId = playedGameId}});
        }