Пример #1
0
def subscribe(postId):
    return PostController.subscribe(postId)
Пример #2
0
def unsubscribe(postId):
    return PostController.unsubscribe(postId)
Пример #3
0
def createComment(postId):
    return PostController.addComment(postId)
Пример #4
0
def list():
    return PostController.listPosts()
Пример #5
0
def show_post(postId):
    return PostController.showPost(postId)
Пример #6
0
def create_update_post(postId=None):
    return PostController.post(postId)
Пример #7
0
def show_post_editor(postId=None):
    return PostController.showPostEditor(postId)