public static TeamStatsLite MakeStats(List<RecordLite> records)
		{
			if (records.Count <= 0)
			{
				return null;
			}

			TeamStatsLite res = new TeamStatsLite();
			res.Team = records.First().Team;
			res.AllRecords.AddRange(records);

			return res;
		}
Example #2
0
        public static TeamStatsLite MakeStats(List <RecordLite> records)
        {
            if (records.Count <= 0)
            {
                return(null);
            }

            TeamStatsLite res = new TeamStatsLite();

            res.Team = records.First().Team;
            res.AllRecords.AddRange(records);

            return(res);
        }