示例#1
0
        /// <summary>
        /// Lấy danh sach lop theo khoa
        /// </summary>
        /// <param name="maKhoa"></param>
        /// <returns>List<Lop></LOP></returns>
        public List <Lop> GetByMaKhoa(string maKhoa)
        {
            LopDAO     lp     = new LopDAO();
            List <Lop> lstLop = new List <Lop>();

            try
            {
                lstLop = lp.GetByMaKhoa(maKhoa);
                return(lstLop);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
                return(null);
            }
        }