Пример #1
0
        public List <String> Mapdata(IEnumerable <int> labels)
        {
            Dictionary <int, string> label_map  = MapTypeName.ReadLabelName();
            List <string>            label_name = new List <string>();

            foreach (var label in labels)
            {
                label_name.Add(label_map[label]);
            }
            return(label_name);
        }
Пример #2
0
 // GET: Outcomes
 public ActionResult Outcomes()
 {
     return(View(MapTypeName.ReadLabelName()));
 }