package com.tymiller.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tymiller.model.User;

@RestController
@RequestMapping("/user")
public class UserController {
	
	@Autowired
	private UserService userService;
	
	public String login() {}
	
	@RequestMapping(value="/register", method = RequestMethod.POST)	
	public User registerUser(@RequestBody User user) {
		
	}
}

@@ -579,14 +579,44 @@
 er) %7B%0A%09%09
+return userService.save(user);
 %0A%09%7D%0A%7D%0A

return userService and save