private ObservableCollection <ServiceTable> ReloadServiceTableList() { if (TeamFilter == null) { return(new ObservableCollection <ServiceTable>(ServiceTableDal.FindAll(x => x.Team.SessionGroupID == SessionGroupID))); } return(new ObservableCollection <ServiceTable>(ServiceTableDal.FindAll(x => x.Team.SessionGroupID == SessionGroupID && x.TeamID == TeamFilter.ID && x.TableName.Contains(TableNameFilter)))); }
private ObservableCollection <ServiceTable> ReloadServiceTableList() { if (TeamIDFilterForTables == null) { return(new ObservableCollection <ServiceTable>(ServiceTableDal.FindAll(x => x.Team.SessionGroupID == SessionGroupID))); } return(new ObservableCollection <ServiceTable>(ServiceTableDal.FindAll(x => x.Team.SessionGroupID == SessionGroupID && x.TeamID == TeamIDFilterForTables.ID))); }