package com.tymiller.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.tymiller.model.User;
import com.tymiller.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDao userDao;
	
	@Override
	public List<User> findAllUsers() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public User findByUserName(String userName) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public User save(User user) {
		// TODO Auto-generated method stub
		return null;
	}
	
}

@@ -332,56 +332,32 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return userDao.findAll()
 ;%0A%09%7D
@@ -422,56 +422,47 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return userDao.findByUserName(userName)
 ;%0A%09%7D
@@ -511,56 +511,33 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return userDao.save(user)
 ;%0A%09%7D

set up findAllUsers, findByUserName, and Save