public static VotacionPropuestaRespuestaDTO detalleVotacionPropuestaRespuesta(decimal idVotacionPropuesta, decimal idFamilia) { IList <VotacionPropuestaRespuestaDTO> theVotacionPropuestaRespuestaDTO = new List <VotacionPropuestaRespuestaDTO>(); VotacionPropuestaRespuestaDTO myVotacionPropuestaRespuestaDTO = new VotacionPropuestaRespuestaDTO(); theVotacionPropuestaRespuestaDTO = facade.VotacionPropuestaRespuesta.getListadoVotacionPropuestaRespuesta(); if (theVotacionPropuestaRespuestaDTO.Any()) { myVotacionPropuestaRespuestaDTO = theVotacionPropuestaRespuestaDTO.Where(x => x.TheVotacionPropuestaDTO.IdVotacionPropuesta == idVotacionPropuesta && x.TheFamiliaDTO.IdFamilia == idFamilia).First(); } return(myVotacionPropuestaRespuestaDTO); }
public static bool ValidaEliminacionPropuesta(VotacionPropuestaRespuestaDTO theVotacionPropuestaRespuestaDTO) { bool respuesta = facade.VotacionPropuestaRespuesta.ValidaEliminacionVotacionPropuestaRespuesta(theVotacionPropuestaRespuestaDTO); return(respuesta); }
public static bool ActivaPropuesta(VotacionPropuestaRespuestaDTO theVotacionPropuestaRespuestaDTO) { bool respuesta = YouCom.DAL.VotacionPropuestaRespuestaDAL.ActivaVotacionPropuestaRespuesta(theVotacionPropuestaRespuestaDTO); return(respuesta); }