Пример #1
0
        private List <CustomerViewModel> ParseResponse(List <Dictionary <string, string> > dataDictionary)
        {
            List <CustomerViewModel> customers = new List <CustomerViewModel>();

            foreach (var item in dataDictionary)
            {
                customers.Add(
                    DictionaryConverter.DictionaryToObject <CustomerViewModel>(item));
            }

            return(customers);
        }