public List <ASECTION> loadAllSection() { List <ASECTION> sections = null; using (DBConnection_EF con = DBConnection_EF.GetUContext()) { sections = SectionDao.loadAll(con); } return(sections); }
public List <ASECTION> loadAllSection() { List <ASECTION> sections = null; using (DBConnection_EF con = new DBConnection_EF()) { sections = sectionDAO.loadAll(con); } return(sections); }