Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RequestMapping(value = "/userTariffOptions", method = RequestMethod.GET)
- public String tariffOptions(HttpServletRequest request, Locale locale, Model model) {
- User user = (User) request.getSession().getAttribute("currentUser");
- model.addAttribute("contractsUserList", contractService.getAllContractsForUser(user.getUserId()));
- model.addAttribute("allTariffOptions", optionService.getAll());
- return "user/userTariffOptions";
- }
Add Comment
Please, Sign In to add comment