code: public static Result save() {
          Form<Computer> computerForm = form(Computer.class).bindFromRequest();
          if(computerForm.hasErrors()) {
              return badRequest(createForm.render(computerForm));
          }
          computerForm.get().save();
          flash("success", "Computer " + computerForm.get().name + " has been created");
          return GO_HOME;
      }
docs: Handle the 'new computer form' submission