Ejemplo n.º 1
0
 @RequestMapping(method = RequestMethod.GET, value = "{prizeId}/applicant")
 public void applicantDepartment(@PathVariable String prizeId, Model model) throws Exception {
   model.addAttribute("appDept", applicantDepartmentService.getApplicantDepartment(prizeId));
 }
Ejemplo n.º 2
0
  @RequestMapping(method = RequestMethod.POST, value = "/applicant")
  public void saveDepartment(MPrize prize, Model model) throws Exception {

    applicantDepartmentService.save(prize.getApplicationDepartmentList());
  }