private ObservableCollection <Achievement> GenerateItems(IReadOnlyList <Achievement> items) { foreach (var item in items) { AllAchievements.Add(item); } return(AllAchievements); }
private ObservableCollection <Achievement> GenerateItems(Achievement item) { AllAchievements.Add(item); return(AllAchievements); }