public List <DOCGIA> getDOCGIAs() { List <DOCGIA> ds = new List <DOCGIA>(); using (QLThuViendbDataContext db = new QLThuViendbDataContext()) { ds = db.DOCGIAs.Select(p => p).ToList(); } return(ds); }
public List <SACH> getSACHs() { List <SACH> ds = new List <SACH>(); using (QLThuViendbDataContext db = new QLThuViendbDataContext()) { ds = db.SACHes.Select(p => p).ToList(); } return(ds); }
public List <NHANVIEN> getNHANVIENs() { List <NHANVIEN> ds = new List <NHANVIEN>(); using (QLThuViendbDataContext db = new QLThuViendbDataContext()) { ds = db.NHANVIENs.Select(p => p).ToList(); } return(ds); }