public bool ExcluirPostagem(Postagem post)
 {
     try
     {
         _postagem.Excluir(c => c == post);
         _postagem.Commit();
         return true;
     }
     catch
     {
         return false;
     }
 }
 public bool EditarPostagem(Postagem post)
 {
     try
     {
         _postagem.Atualizar(post);
         _postagem.Commit();
         return true;
     }
     catch
     {
         return false;
     }
 }
 public bool AdicionarPostagem(Postagem post)
 {
     try
     {
         _postagem.Adicionar(post);
         _postagem.Commit();
         return true;
     }
     catch (Exception)
     {
         return false;
     }
 }