public Dictionary <string, string> GetList(RequestTokenModel model) { var json = _service.GetList(model.Token).Result; var files = JsonConvert.DeserializeObject <FilesListModel>(json).files as List <File>; var list = new Dictionary <string, string>(); files.ForEach(file => list.Add(file.Id, file.Name)); return(list); }