public async void Delete() { if (SelectedRDCGroup != null) { object result = await DialogHost.Show(new Dialog()); if ((bool)result) { _rdcGroupManager.Delete(SelectedRDCGroup); _rdcGroupManager.Save(); RDCGroups.Remove(SelectedRDCGroup); _snackbarMessageQueue.Enqueue("RDC Group deleted and changes saved"); } } }
public void New() { RDCGroups.Add(_rdcGroupManager.CreateNew()); }