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()); }
//[Display(Name ="Profile name")] // public HttpPostedFileBase File { get; set; } public IEnumerable <TacGia> getListTacGia() { IEnumerable <TacGia> listTG = BaiDangSUM.getListTC(); return(listTG); }