private void ReloadListFromDatabase() { Angebote.Clear(); foreach (var item in dh.GetAllSpecialOffers()) { Angebote.Add(item); } }
private void RefreshList(string selectedFilterMethode) { if (SelectedFilterMethode.Equals("Alle")) { ReloadListFromDatabase(); } else { ReloadListFromDatabase(); foreach (var item in FilterListByTime()) { Angebote.Add(item); } } }