package com.tymiller.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tymiller.service.UserService;

@RestController
@RequestMapping("/rest")
public class UserResource {

	@Autowired
	private UserService userService;
	
	@RequestMapping("/user/users")
	public List<User> findAllUsers() {
		return userService.findAllUsers();
	}
}

@@ -23,24 +23,111 @@
 ontroller;%0A%0A
+import java.util.List;%0A%0Aimport org.springframework.beans.factory.annotation.Autowired;%0A
 import org.s
@@ -237,24 +237,56 @@
 ontroller;%0A%0A
+import com.tymiller.model.User;%0A
 import com.t

add imports