public function gbRemove($GbImageId)
 {
     $this->Post = (int) $GbImageId;
     $ReadGb = new WsPostsGallery();
     $ReadGb->setGallery_id($this->Post);
     $result = $ReadGb->find();
     if ($result) {
         $Imagem = '../uploads/' . $result->gallery_image;
         if (file_exists($Imagem) && !is_dir($Imagem)) {
             unlink($Imagem);
         }
         $deleta = $ReadGb->delete();
         if ($deleta) {
             $this->Error = ["A Imagem foi removida com sucesso da galeria!", WS_ACCEPT];
             $this->Result = true;
         }
     }
 }