def getEmp(): data = DataBase.getAllEmp() print(data) if not data: return jsonify({'status':'bad'}) else: return jsonify({'status':'good','data':data})