Guest User

Untitled

a guest
Oct 1st, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. @RequestMapping(value = "/userTariffOptions", method = RequestMethod.GET)
  2. public String tariffOptions(HttpServletRequest request, Locale locale, Model model) {
  3. User user = (User) request.getSession().getAttribute("currentUser");
  4. model.addAttribute("contractsUserList", contractService.getAllContractsForUser(user.getUserId()));
  5. model.addAttribute("allTariffOptions", optionService.getAll());
  6. return "user/userTariffOptions";
  7. }
Add Comment
Please, Sign In to add comment