public static List <CongTyDoVe> GetAllCongTyDoVe() { List <CongTyDoVe> lst = new List <Object.CongTyDoVe>(); EntityCollection ec = ManageBase.SelectAllCongTyDoVe(); foreach (CongTyDoVeEntity item in ec) { lst.Add(new CongTyDoVe { CongTyDoVeId = item.CongTyDoVeId, TenCongTyDoVe = item.TenCongTyDoVe }); } return(lst); }