@@ -0,0 +1,394 @@
+package com.tymiller.dao;%0A%0Aimport java.util.List;%0A%0Aimport org.springframework.data.repository.CrudRepository;%0Aimport org.springframework.stereotype.Repository;%0A%0Aimport com.tymiller.model.User;%0A%0A@Repository%0Apublic interface UserDao extends CrudRepository%3CUser, Long%3E %7B%0A%09List%3CUser%3E findAll();%0A%09%0A%09User findByUserName(String userName);%0A%09%0A%09User findByUserId(Long userId);%0A%09%0A%09User save(User user);%0A%7D%0A

set up userDao and mark as repository