// PUT api/postagem/5
        public int Put(DTOPostagem postagem)
        {
            BLLPostagem BLLobjeto = new BLLPostagem();

            return(BLLobjeto.AtualizarPostagem(postagem));
        }
        // DELETE api/postagem/5
        public int Delete(int id)
        {
            BLLPostagem BLLobjeto = new BLLPostagem();

            return(BLLobjeto.DeletarPostagem(id));
        }
        // POST api/postagem
        public int Post(DTOPostagem postagem)
        {
            BLLPostagem BLLobjeto = new BLLPostagem();

            return(BLLobjeto.InserirPostagem(postagem));
        }
        // GET api/postagem/5
        public DTOPostagem Get(int id)
        {
            BLLPostagem BLLobjeto = new BLLPostagem();

            return(BLLobjeto.SelecionarPostagem(id));
        }
        public List <DTOPostagem> Ultimas()
        {
            BLLPostagem BLLobjeto = new BLLPostagem();

            return(BLLobjeto.SelecionarUltimasPostagens());
        }
        public List <DTOPostagem> GetPostagemColunista(int id)
        {
            BLLPostagem BLLobjeto = new BLLPostagem();

            return(BLLobjeto.SelecionarPostagensColunista(id));
        }
        public List <DTOPostagem> GetGeral()
        {
            BLLPostagem BLLobjeto = new BLLPostagem();

            return(BLLobjeto.SelecionarPostagems());
        }