public static Result getThirdParties() { AppUtils.setHeaders(response()); List<ThirdParty> thirdParties = ThirdParty.getAll(); return Results.ok(Json.toJson(thirdParties)); }