public QUAN_HUYEN_UpdResult QUAN_HUYEN_Upd(QUAN_HUYEN_SearchResult data)
 {
     try
     {
         using (var dataContext = new OOAD_EDUManagementDataContext())
         {
             QUAN_HUYEN_UpdResult result = dataContext.QUAN_HUYEN_Upd(
                 data.maQuan_Huyen,
                 data.maXQuan_Huyen,
                 data.maTinh_TP,
                 data.tenQuan_Huyen,
                 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).SingleOrDefault();
             return result;
         }
     }
     catch (Exception e)
     {
         return new QUAN_HUYEN_UpdResult() { RESULT = "-1", MAQUAN_HUYEN = "", ERRORDESC = e.Message };
     }
 }