public void AddBadge(int badgeId) { if (!Badges.Contains(badgeId)) { Badges.Add(badgeId); } HasChanged = true; LastUpdated = DateTime.Now; }