Пример #1
0
        public IEnumerable <string> getListTGstring()
        {
            IEnumerable <TacGia> listTG       = BaiDangSUM.getListTC();
            List <string>        listTGstring = new List <string>();

            foreach (TacGia tg in listTG)
            {
                listTGstring.Add(tg.tentacgia);
            }

            return(listTGstring.AsEnumerable());
        }
Пример #2
0
        //[Display(Name ="Profile name")]
        // public HttpPostedFileBase  File { get; set; }

        public IEnumerable <TacGia> getListTacGia()
        {
            IEnumerable <TacGia> listTG = BaiDangSUM.getListTC();

            return(listTG);
        }