Esempio n. 1
0
        private void SetRelationalProperties()
        {
            if (_season != null && Clans?.Count() > 0)
            {
                _groupId = $"{_season.ToShortDateString()};{Clans.OrderBy(c => c.ClanTag).First().ClanTag}";
            }

            if (Clans?.Count() > 0 && _season != null)
            {
                foreach (var clan in Clans)
                {
                    clan.LeagueClanId = $"{_season.ToShortDateString()};{clan.ClanTag}";
                }
            }
        }