//Calculate All Player Wins
        public IActionResult CalculateAllPlayerWins()
        {
            var players = _context.Players.ToList();
            List <PlayerWins> playerWinsList   = new List <PlayerWins>();
            List <PlayerWins> newPlayerWinList = new List <PlayerWins>();
            List <PlayerWins> tieList          = new List <PlayerWins>();

            int totalPoints = MatchupDataHelper.Get_Tie_Breaker_Points();

            foreach (var player in players)
            {
                int winCount    = 0;
                var playerPicks = _context.Pick.Where(p => p.PlayerId == player.PlayerId && p.Week == week).ToList();
                var winList     = MatchupDataHelper.CalculateAllWins(playerPicks).ToList();
                foreach (var item in winList)
                {
                    if (item.Win.Equals("YES"))
                    {
                        winCount++;
                    }
                }
                playerWinsList.Add(new PlayerWins(player.Name, player.Company, winCount));
                newPlayerWinList = playerWinsList.OrderByDescending(p => p.WinCount)
                                   .ThenBy(p => p.Name)
                                   .ToList();

                //check to see if there is a tie
                bool tieResult = ScoresDataHelper.isTie(newPlayerWinList);

                //if tieResult = true then we need to collect all the players with the same amount of wins
                if (tieResult)
                {
                    tieList = ScoresDataHelper.Get_All_Ties(newPlayerWinList);
                }
            }

            return(View(newPlayerWinList));
        }