/// <summary> /// call the infor comes of the database /// </summary> public void callTopics() { AppDatabase myDataBase = new AppDatabase(); List <string> topicList = new List <string>(); List <int> percentList = new List <int>(); foreach (var item in myDataBase.GetTopics().ToArray()) { topicList.Add(item.Name); percentList.Add(item.Id); } //topics = topicList.ToArray(); //percentages = percentList.ToArray(); }