예제 #1
0
 def get_all_accounts():
     return jsonify(AccountService.all_accounts())
예제 #2
0
 def all_accounts(client_id):
     try:
         return jsonify(AccountService.all_accounts(client_id)), 200
     except ResourceNotFound as r:
         return r.message, 404