public YahooTeamPoints CreateYahooTeamPointsModel()
        {
            _h.StartMethod();
            YahooTeamPoints yTP = new YahooTeamPoints();

            // TEAMID --> A number between 0 and the total number of teams in the league with each number in between representing one of the teams (i.e., each team has its own unique team id number)
            const int teamId = 1;

            string uriTeamBase = endPoints.TeamSeasonStatsEndPoint(_theGameConfig.LeagueKey, teamId).EndPointUri;

            JObject teamStatsJson = _yahooApiRequestController.GenerateYahooResourceJObject(uriTeamBase);

            JToken teamPointsPath = teamStatsJson["fantasy_content"]["team"]["team_points"];
            // var teamPointsPath         = o["fantasy_content"]["team"]["team_points"];
            string teamPointsCoverageType = yTP.CoverageType = teamPointsPath["coverage_type"].ToString();

            if (string.Equals(teamPointsCoverageType, "season", StringComparison.Ordinal))
            {
                yTP.WeekOrYear = (int?)teamPointsPath["season"];
            }

            if (string.Equals(teamPointsCoverageType, "week", StringComparison.Ordinal))
            {
                yTP.WeekOrYear = (int?)teamPointsPath["week"];
            }

            yTP.Total = (int?)teamPointsPath["total"];

            return(yTP);
        }
        // OPTION 2 : endpoint parameters passed as parameters to method
        /// <summary> Create new instance of YahooTeamPoints model </summary>
        /// <param name="teamId"> A number between 0 and the total number of teams in the league with each number in between representing one of the teams (i.e., each team has its own unique team id number) </param>
        /// <param name="o"> An object that contains the json needed to instantiate new instance of YahooTeamPoints model</param>
        /// <returns> Instance of YahooTeamPoints model; includes CoverageType, WeekOrYear, and Total points  </returns>
        public YahooTeamPoints CreateYahooTeamPointsModel(int teamId, JObject o)
        {
            _h.StartMethod();
            YahooTeamPoints yTP = new YahooTeamPoints();

            var teamPointsPath = o["fantasy_content"]["team"]["team_points"];

            var teamPointsCoverageType = yTP.CoverageType = teamPointsPath["coverage_type"].ToString();

            if (string.Equals(teamPointsCoverageType, "season", StringComparison.Ordinal))
            {
                yTP.WeekOrYear = (int?)teamPointsPath["season"];
            }

            if (string.Equals(teamPointsCoverageType, "week", StringComparison.Ordinal))
            {
                yTP.WeekOrYear = (int?)teamPointsPath["week"];
            }

            yTP.Total = (int?)teamPointsPath["total"];

            return(yTP);
        }