public static IDictionary <string, string> GetMissionRecordInfo(int wfe_id) { WorkFlows wfs = new WorkFlows(); List <Process_Record> Pre = wfs.GetMissionRecordInfo(wfe_id); Dictionary <string, string> res = new Dictionary <string, string>(); foreach (var p in Pre) { res[p.Re_Name] = p.Re_Value; } return(res); }