Browse Source

Poll Controller

Nick Satinover 6 years ago
parent
commit
c35ed64827

src/test/java/io/zipcoder/tc_spring_poll_application/repositories/Vote.java → src/test/java/io/zipcoder/tc_spring_poll_application/repositories/VoteRepository.java View File

1
 package io.zipcoder.tc_spring_poll_application.repositories;
1
 package io.zipcoder.tc_spring_poll_application.repositories;
2
 
2
 
3
+import io.zipcoder.tc_spring_poll_application.domain.Vote;
3
 import org.springframework.data.repository.CrudRepository;
4
 import org.springframework.data.repository.CrudRepository;
4
 import org.springframework.stereotype.Repository;
5
 import org.springframework.stereotype.Repository;
5
 
6
 
6
 @Repository
7
 @Repository
7
-public interface Vote extends CrudRepository<Vote, Long> {
8
+public interface VoteRepository extends CrudRepository<Vote, Long> {
8
 }
9
 }