@@ -0,0 +1,1709 @@
+package api;%0A%0Aimport java.util.List;%0A%0Aimport javax.validation.Valid;%0A%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.web.bind.annotation.PathVariable;%0Aimport org.springframework.web.bind.annotation.RequestBody;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RequestMethod;%0Aimport org.springframework.web.bind.annotation.ResponseStatus;%0Aimport org.springframework.web.bind.annotation.RestController;%0A%0Aimport dtos.UserDTO;%0Aimport services.UserService;%0A%0A@RestController%0A@RequestMapping(%22/api/user%22)%0Apublic final class UserController %7B%0A    private final UserService service;%0A%0A    @Autowired%0A    public UserController(UserService service) %7B%0A        this.service = service;%0A    %7D%0A%0A    @RequestMapping(method = RequestMethod.POST)%0A    @ResponseStatus(HttpStatus.CREATED)%0A    UserDTO create(@RequestBody @Valid UserDTO userEntry) %7B%0A        return service.create(userEntry);%0A    %7D%0A%0A    @RequestMapping(value = %22%7Bid%7D%22, method = RequestMethod.DELETE)%0A    UserDTO delete(@PathVariable(%22id%22) String id) %7B%0A        return service.delete(id);%0A    %7D%0A%0A    @RequestMapping(value = %22%7Bid%7D%22, method = RequestMethod.GET)%0A    @ResponseStatus(HttpStatus.OK)%0A    UserDTO findById(@PathVariable(%22id%22) String id) %7B%0A        return service.findById(id);%0A    %7D%0A%0A    @RequestMapping(value = %22%7Bid%7D%22, method = RequestMethod.PUT)%0A    UserDTO update(@RequestBody @Valid UserDTO userEntry) %7B%0A        return service.update(userEntry);%0A    %7D%0A%0A    @RequestMapping(method = RequestMethod.GET)%0A    @ResponseStatus(HttpStatus.OK)%0A    List%3CUserDTO%3E findAll() %7B%0A        return service.findAll();%0A    %7D%0A%7D%0A

Implement User resource API controller