public static bool ValidaEliminacionVotacionPropuestaRespuesta(DTO.Propuesta.VotacionPropuestaRespuestaDTO theVotacionPropuestaRespuestaDTO, ref DataTable pobjDatatable) { bool retorno = false; YouCom.Service.BD.SQLHelper wobjSQLHelper = new YouCom.Service.BD.SQLHelper(); wobjSQLHelper.SetParametro("@pIdVotacionPropuestaRespuesta", SqlDbType.VarChar, 20, theVotacionPropuestaRespuestaDTO.TheVotacionPropuestaDTO.IdVotacionPropuesta); try { //==================================================================================== if (wobjSQLHelper.Ejecutar("validaEliminacionVotacionPropuestaRespuesta", "YouCom", pobjDatatable) <= 0) { retorno = false; } else { retorno = true; } } catch (Exception eobjException) { throw eobjException; } return(retorno); }
public static bool Insert(DTO.Propuesta.VotacionPropuestaRespuestaDTO myVotacionPropuestaRespuestaDTO) { bool resultado = VotacionPropuestaRespuestaDAL.Insert(myVotacionPropuestaRespuestaDTO); return(resultado); }
public static bool Delete(DTO.Propuesta.VotacionPropuestaRespuestaDTO myVotacionPropuestaRespuestaDTO) { bool resultado = VotacionPropuestaRespuestaDAL.Delete(myVotacionPropuestaRespuestaDTO); return(resultado); }