private void OnAddSet() { SetWrapper set = new SetWrapper(new Set()); set.Name = SetName; _setService.AddSetToDB(set); SetName = ""; Sets.Add(set); ((DelegateCommand)AddSetCommand).RaiseCanExecuteChanged(); }