public function restore(Post $post)
    {
        $this->authorize(PostsPolicy::PERMISSION_UPDATE);

        try {
            $post->restore();

            return $this->jsonResponseSuccess([
                'message' => $this->transNotification('restored', ['title' => $post->title], $post->toArray())
            ]);
        }
        catch (\Exception $e) {
            return $this->jsonResponseError(['message' => $e->getMessage()], 500);
        }
    }