private void OnSaveGroup() { FiltersViewModels.Add(new FiltersViewModel() { GroupName = GroupName }); GroupName = ""; AddGroupTileVisibility = Visibility.Collapsed; }
public void PopulateFilterGroups() { // var localGroups = await DatabaseHandler.Instance.GetFilterGroups(); foreach (var localFilterGroup in LocalCache.Instance.LocalfilterGroups) { var newFilterVIewModel = new FiltersViewModel(); newFilterVIewModel.SetFilterGroup(localFilterGroup); FiltersViewModels.Add(newFilterVIewModel); } }