public static MensajeNoticiaDTO detalleMensajeNoticia(decimal idMensajeNoticia) { IList <MensajeNoticiaDTO> collMensajeNoticia; MensajeNoticiaDTO MensajeNoticia = new MensajeNoticiaDTO(); collMensajeNoticia = getListadoMensajeNoticia(); if (collMensajeNoticia.Any()) { MensajeNoticia = collMensajeNoticia.Where(x => x.IdMensajeNoticia == idMensajeNoticia).First(); } return(MensajeNoticia); }
public static bool ValidaEliminacionMensajeNoticia(MensajeNoticiaDTO theMensajeNoticiaDTO) { bool respuesta = facade.Mensajeria.MensajeNoticia.ValidaEliminacionMensajeNoticia(theMensajeNoticiaDTO); return(respuesta); }
public static bool ActivaMensajeNoticia(MensajeNoticiaDTO theMensajeNoticiaDTO) { bool respuesta = YouCom.Mensajeria.DAL.MensajeNoticiaDAL.ActivaMensajeNoticia(theMensajeNoticiaDTO); return(respuesta); }
public static bool Update(MensajeNoticiaDTO myMensajeNoticiaDTO) { bool resultado = YouCom.Mensajeria.DAL.MensajeNoticiaDAL.Update(myMensajeNoticiaDTO); return(resultado); }
public static bool Insert(MensajeNoticiaDTO myMensajeNoticiaDTO) { bool resultado = YouCom.Mensajeria.DAL.MensajeNoticiaDAL.Insert(myMensajeNoticiaDTO); return(resultado); }