@api_response()
def execute(self):
    try:
        if Authorizer.is_admin(user_group=self.user_group):
            return self._get_post_object()
        return self._find_filtered_result()
    except ItemNotFoundException as ex:
        ExceptionHandler.handel_exception(exception=ex)
        return HTTPStatus.NOT_FOUND
    except PostModel.DoesNotExist as ex:
        ExceptionHandler.handel_exception(exception=ex)
        return HTTPStatus.NOT_FOUND
@api_response()
def execute(self):
    try:
        if Authorizer.is_admin(user_group=self.user_group):
            return self._get_post_object()
        return self._find_filtered_result()
    except ItemNotFoundException as ex:
        ExceptionHandler.handel_exception(exception=ex)
        return HTTPStatus.NOT_FOUND
    except PostModel.DoesNotExist as ex:
        ExceptionHandler.handel_exception(exception=ex)
        return HTTPStatus.NOT_FOUND