private void AddGroup(GroupModel group) { _groups.Add(group); RaisePropertyChanged(() => Groups); }
// Testing only private void UpdateGroup(int idx, GroupModel group) { _groups[idx] = group; // This does not cause the UI to refresh. RaisePropertyChanged(() => Groups); }