@@ -0,0 +1,837 @@
+package br.holandajunior.workaday.controller;%0A%0Aimport br.holandajunior.workaday.model.User;%0Aimport br.holandajunior.workaday.repository.UserRepository;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.web.bind.annotation.PathVariable;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RestController;%0Aimport java.util.List;%0A%0A/**%0A * Created by holandajunior on 29/04/17.%0A */%0A%0A@RestController%0A@RequestMapping(%22/users%22)%0Apublic class UserQueryController %7B%0A%0A    @Autowired%0A    private UserRepository userRepo;%0A%0A    @RequestMapping%0A    public List%3CUser%3E findAll() %7B%0A        return userRepo.findAll();%0A    %7D%0A%0A    @RequestMapping(%22/%7Bid%7D%22)%0A    public User findOne( @PathVariable(%22id%22) Long id ) %7B%0A        return userRepo.findOne( id );%0A    %7D%0A%0A%7D%0A

Add query-side endpoints