public ChampionInventory(IEnumerable <ChampionDTO> src) { foreach (var champ in src) { if (champ.Owned) { Owned.Add(champ.ChampionId); } if (champ.FreeToPlay) { Free.Add(champ.ChampionId); } } }