public static string[] GetNames(this IEnumerable <int> d)
        {
            List <string> dsa = new List <string>();

            foreach (var item in d)
            {
                dsa.Add(Disciplinas.GetName(item));
            }
            return(dsa.ToArray());
        }
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(Disciplinas.GetName(int.Parse(value.ToString())));
 }