Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public static bool ValidaEliminacionMensajeNoticia(MensajeNoticiaDTO theMensajeNoticiaDTO)
        {
            bool respuesta = facade.Mensajeria.MensajeNoticia.ValidaEliminacionMensajeNoticia(theMensajeNoticiaDTO);

            return(respuesta);
        }
Exemplo n.º 3
0
        public static bool ActivaMensajeNoticia(MensajeNoticiaDTO theMensajeNoticiaDTO)
        {
            bool respuesta = YouCom.Mensajeria.DAL.MensajeNoticiaDAL.ActivaMensajeNoticia(theMensajeNoticiaDTO);

            return(respuesta);
        }
Exemplo n.º 4
0
        public static bool Update(MensajeNoticiaDTO myMensajeNoticiaDTO)
        {
            bool resultado = YouCom.Mensajeria.DAL.MensajeNoticiaDAL.Update(myMensajeNoticiaDTO);

            return(resultado);
        }
Exemplo n.º 5
0
        public static bool Insert(MensajeNoticiaDTO myMensajeNoticiaDTO)
        {
            bool resultado = YouCom.Mensajeria.DAL.MensajeNoticiaDAL.Insert(myMensajeNoticiaDTO);

            return(resultado);
        }