public List <EventLocation> GetList(List <Dictionary <string, object> > dictList) { data.Clear(); foreach (Dictionary <string, object> dict in dictList) { foreach (KeyValuePair <string, object> obj in dict) { EventLocation objectValue = (EventLocation)obj.Value; objectValue.FillFromDictionary(dict); data.Add(objectValue); } } return(data); }