public IEnumerable<CHUYEN_NGANH_SearchResult> CHUYEN_NGANH_Search(CHUYEN_NGANH_SearchResult data, int? top)
 {
     try
     {
         using (var db = new OOAD_EDUManagementDataContext())
         {
             return db.CHUYEN_NGANH_Search(data.maChuyenNganh,
                                           data.maXChuyenNganh,
                                           data.maNganh,
                                           data.tenChuyenNganh,
                                           data.maNguoiLap,
                                           data.thoiGianLap == null ? "" : data.thoiGianLap.Value.ToString(Constants.FormatDate),
                                           data.maNguoiDuyet,
                                           data.thoiGianDuyet == null ? "" : data.thoiGianDuyet.Value.ToString(Constants.FormatDate),
                                           data.maTrangThaiDuyet,
                                           data.trangThaiDuLieu,
                                           top).ToList();
         }
     }
     catch (Exception e) { return null; }
 }