public DataTable sp_del_sectorVectorBLL(SectorVectorBO sectorVector) { DataTable dt = new DataTable(); try { dt = new SectorVectorDAL().sp_del_sectorVectorDAL(sectorVector); } catch (Exception ex) { throw ex; } return(dt); }
public DataTable sp_del_sectorVectorDAL(SectorVectorBO sectorVector) { DataTable dt = new DataTable(); try { parametros = new SqlParameter[2]; parametros[numParam] = new SqlParameter("@nro_sector", SqlDbType.Int); parametros[numParam++].Value = sectorVector.Nro_sector; parametros[numParam] = new SqlParameter("@nro_tarja", SqlDbType.BigInt); parametros[numParam++].Value = sectorVector.Nro_tarja; dt = new AccesoBDDAL().mtdEjecutaProcedimientoAlmacenadoSel("sp_del_sectorVector", parametros); } catch (Exception ex) { throw ex; } return(dt); }