internal static List <SystemAndData> AssessData(List <CountryConfig.SystemRow> systems, string country) { List <SystemAndData> systemsAndData = new List <SystemAndData>(); DataConfigFacade dcf = CountryAdministrator.GetDataConfigFacade(country); foreach (CountryConfig.SystemRow sys in systems) { SystemAndData sad = new SystemAndData(sys); foreach (DataConfig.DBSystemConfigRow dbs in dcf.GetDBSystemConfigRowsBySystem(sys.Name)) { if (dbs.DataBaseRow.Private == DefPar.Value.YES) { continue; // do not take-up private data into this structure !!! } sad.allData.Add(dbs); if (dbs.BestMatch == DefPar.Value.YES) { sad.bestMatches.Add(dbs); } } systemsAndData.Add(sad); } return(systemsAndData); }