public PartialViewResult GetTeamStatsCardDifferenceInfos(string teamID, string teamsOpponentCD)
        {
            int inTeamCD = int.MinValue;
            int inTeamsOpponentCD = int.MinValue;
            Int32.TryParse(teamID, out inTeamCD);
            Int32.TryParse(teamsOpponentCD, out inTeamsOpponentCD);
            DateTime inMMYYYY = DateTime.Now.Date;
            NpbTeamInfoConfrontationResultViewModel npbTeamInfoConfrontationResultViewModel = new NpbTeamInfoConfrontationResultViewModel();
            ///
            ///Get TeamInfoMST
            ///
            npbTeamInfoConfrontationResultViewModel.TeamsOpponent = GetTeamInfoMSTByTeamCD(inTeamsOpponentCD);
            ///
            ///Get TeamStatsCardDifferenceInfos
            ///
            npbTeamInfoConfrontationResultViewModel.TeamStatsCardDifferenceInfos = GetTeamStatsCardDifferenceInfosByTeamCDAndTeamsOpponentCD(inTeamCD, inTeamsOpponentCD);
            ///
            ///Get ResultGameInfos
            ///
            npbTeamInfoConfrontationResultViewModel.ResultGameInfos = GetResultGameInfos(inTeamCD, inTeamsOpponentCD, inMMYYYY);

            /////
            /////   Return ViewBag
            /////
            ViewBag.TeamID = inTeamCD;
            ViewBag.MonthFocus = inMMYYYY;
            ViewBag.TeamsOpponentCD = inTeamsOpponentCD;
            return PartialView("_NpbTeamInfoConfrontationResult", npbTeamInfoConfrontationResultViewModel);
        }
        // GET: Npb/NpbTeamInfoConfrontationResult
        public ActionResult Index(string teamID)
        {
            int inTeamCD = int.MinValue;
            int.TryParse(teamID, out inTeamCD);
            DateTime inMMYYYY = DateTime.Now.Date;

            NpbTeamInfoConfrontationResultViewModel npbTeamInfoConfrontationResultViewModel = new NpbTeamInfoConfrontationResultViewModel();
            ///
            ///Get TeamInfoMST
            ///
            npbTeamInfoConfrontationResultViewModel.TeamInfo = GetTeamInfoMSTByTeamCD(inTeamCD);
            ///
            ///Get TeamInfoMSTs
            ///
            npbTeamInfoConfrontationResultViewModel.TeamInfoMSTs = GetTeamInfoMSTs();
            ///
            ///Get TeamStatsCardDifferenceInfos
            ///
            ///
            ///Set Default ResultGameInfos with teamsOpponentCD
            ///Set Default month is month on date system.
            ///
            int inTeamsOpponentCD = int.MinValue;
            foreach (var item in npbTeamInfoConfrontationResultViewModel.TeamInfoMSTs)
            {
                if (item.TeamCD != inTeamCD)
                {
                    inTeamsOpponentCD = (int)item.TeamCD;
                    npbTeamInfoConfrontationResultViewModel.TeamsOpponent = GetTeamInfoMSTByTeamCD(inTeamsOpponentCD);
                    break;
                }
            }
            npbTeamInfoConfrontationResultViewModel.TeamStatsCardDifferenceInfos = GetTeamStatsCardDifferenceInfosByTeamCDAndTeamsOpponentCD(inTeamCD, inTeamsOpponentCD);
            ///
            ///Get ResultGameInfos
            ///
            npbTeamInfoConfrontationResultViewModel.ResultGameInfos = GetResultGameInfos(inTeamCD, inTeamsOpponentCD, inMMYYYY);
            /////
            /////   Return ViewBag
            /////
            ViewBag.TeamID = inTeamCD;
            ViewBag.MonthFocus = inMMYYYY;
            ViewBag.TeamsOpponentCD = inTeamsOpponentCD;
            ViewBag.TeamInfoMenuTabActive = (int)NpbConstants.TeamInfoMenu.TabActive_3;
            return View(npbTeamInfoConfrontationResultViewModel);
        }
        public PartialViewResult GetResultGameInfosByMonth(string teamID, string teamsOpponentCD, string month)
        {
            int inTeamCD = int.MinValue;
            int inTeamsOpponentCD = int.MinValue;
            DateTime inMMYYYY = DateTime.Parse(month);
            Int32.TryParse(teamID, out inTeamCD);
            Int32.TryParse(teamsOpponentCD, out inTeamsOpponentCD);

            NpbTeamInfoConfrontationResultViewModel npbTeamInfoConfrontationResultViewModel = new NpbTeamInfoConfrontationResultViewModel();
            ///
            ///Get ResultGameInfos
            ///
            npbTeamInfoConfrontationResultViewModel.ResultGameInfos = GetResultGameInfos(inTeamCD, inTeamsOpponentCD, inMMYYYY);

            /////
            /////   Return ViewBag
            /////
            ViewBag.TeamID = inTeamCD;
            ViewBag.MonthFocus = inMMYYYY;
            ViewBag.TeamsOpponentCD = inTeamsOpponentCD;
            return PartialView("_NpbTeamInfoResultGameInfos", npbTeamInfoConfrontationResultViewModel);
        }