private void RecalculateNemeses(Player player, ApplicationUser currentUser)
{
var playerIdsToRecalculate = (from thePlayer in _dataContext.GetQueryable<Player>()
where thePlayer.Active
&& thePlayer.Nemesis.NemesisPlayerId == player.Id
select thePlayer.Id).ToList();
foreach (var playerId in playerIdsToRecalculate)
{
_nemesisRecalculator.RecalculateNemesis(playerId, currentUser);
}
}
}