private void SetBattingStat(BattingStat battingStat, Batting lastBattingStat)
        {
            lastBattingStat.Innings++;
            if (lastBattingStat.Dismissals == 0)
                lastBattingStat.AverageDec = Convert.ToDecimal(lastBattingStat.Runs);

            if (battingStat.HowOut.Name != "Not Out")
            {
                lastBattingStat.Dismissals++;
                lastBattingStat.AverageDec = Convert.ToDecimal(lastBattingStat.Runs) / lastBattingStat.Dismissals;
            }
        }
        private void CalculateBattingStat(Batting lastBattingStat, BattingStat battingStat)
        {
            if (battingStat.Runs > lastBattingStat.Highest) lastBattingStat.Highest = battingStat.Runs;

            lastBattingStat.Runs += battingStat.Runs;

            SetBattingStat(battingStat, lastBattingStat);
        }