@RequestMapping(value = "/list", method = RequestMethod.GET)
 public String todoList(Model model, Integer offset, Integer maxResults) {
   model.addAttribute("todoList", toDoItemService.getPageList(offset, maxResults));
   model.addAttribute("count", toDoItemService.count());
   model.addAttribute("offset", offset);
   return "/todo-list";
 }