コード例 #1
0
 public Result getHelis() {
   List<HeliModel> heliModel = heliService.getAllHelis();
   return ok(Json.toJson(heliModel));
 }
コード例 #2
0
 public Result helis() {
   List<HeliModel> heliModels = heliService.getAllHelis();
   log.debug("Helis: {}", heliModels);
   return ok(helis.render("RC Helicopters", heliModels));
 }