示例#1
0
        /// <summary>
        /// this function find to
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public string findTopicById(int id)
        {
            AppDatabase myDataBase = new AppDatabase();

            if (myDataBase.GetTopic(id) != null)
            {
                return(myDataBase.GetTopic(id).Name);
            }
            else
            {
                return("");
            }
        }