private void CreateAchievementNoteCommandExecute(AchievementNoteViewModel achievementNoteViewModel) { if (!AchievementNotes.Contains(achievementNoteViewModel)) { AchievementNotes.Add(achievementNoteViewModel); } UpdateAchievementCommandExecute(); }
private void DeleteAchievementNoteCommandExecute(AchievementNoteViewModel noteViewModel) { if (AchievementNotes.Contains(noteViewModel)) { AchievementNotes.Remove(noteViewModel); } UpdateAchievementCommandExecute(); }