Exemplo n.º 1
0
def list_member(project_id):
    result, data, message = ProjectService.list_member(project_id=project_id)
    return {'result': result, 'data': data, 'message': message}
Exemplo n.º 2
0
def del_member(project_id, member_id):
    result, data, message = ProjectService.del_member(project_id=project_id,
                                                      member_id=member_id)
    return {'result': result, 'data': data, 'message': message}
Exemplo n.º 3
0
def project_create():
    result, data, message = ProjectService.create(request=request)
    return {'result': result, 'data': data, 'message': message}
Exemplo n.º 4
0
def project_delete(id):
    result, data, message = ProjectService.delete(id=id)
    return {'result': result, 'data': data, 'message': message}
Exemplo n.º 5
0
def project_edit(id):
    result, data, message = ProjectService.update(id=id, request=request)
    return {'result': result, 'data': data, 'message': message}
Exemplo n.º 6
0
def project_list(username):
    result, data, message = ProjectService.list(username=username,
                                                request=request)
    return {'result': result, 'data': data, 'message': message}