/// <summary> /// Lay tat ca record /// </summary> /// <returns>List monhoc</returns> public List <MonHoc> GetAll() { try { List <MonHoc> lstMH = context.GetAll(); return(lstMH); } catch (Exception ex) { Console.WriteLine(ex); return(null); } }
public DataTable DanhSach() { return(monHocDAO.GetAll()); }