async def get_regions(): result = Connecteur.get_regions() return jsonable_encoder(result)
async def get_conso_filiere_region(filiere, code): result = Connecteur().get_conso_filiere_region(filiere, code) return jsonable_encoder(result)
async def get_conso_regs_fils_for_charts(): result = Connecteur().get_conso_regs_fils_for_charts() return jsonable_encoder(result)
async def delete_doc(recordid): result = Connecteur().delete_doc(recordid) return jsonable_encoder(result)
async def update_doc(recordid, conso): result = Connecteur().update_doc(recordid, conso) return jsonable_encoder(result)
async def get_doc(recordid): result = Connecteur().get_doc(recordid) return jsonable_encoder(result)
async def get_conso_reg(region): result = Connecteur().get_conso_reg(region) return jsonable_encoder(result)
async def get_data_fil_reg(filiere, region): result = Connecteur().get_data_fil_reg(filiere, region) return jsonable_encoder(result)
async def get_data_region(region): result = Connecteur().get_data_region(region) return jsonable_encoder(result)
async def get_data_fil(filiere): result = Connecteur().get_data_fil(filiere) return jsonable_encoder(result)