public int CapNhat(LOAIVAITRO lpDTO) { try { LinQDataContext db = new LinQDataContext(global::DAOAuction.Properties.Settings.Default.webdoantruongConnectionString); return db.LOAIVAITRO_update( lpDTO.MaLoaiVaiTro, lpDTO.TenLoaiVaiTro ); } catch (Exception ex) { throw (ex); } }