|
|
|
@ -4,9 +4,6 @@ import org.springframework.data.repository.CrudRepository;
|
|
|
|
|
|
|
|
|
|
|
|
import com.generalassembly.contacts.Person;
|
|
|
|
import com.generalassembly.contacts.Person;
|
|
|
|
|
|
|
|
|
|
|
|
// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
|
|
|
|
|
|
|
|
// CRUD refers Create, Read, Update, Delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public interface PersonRepository extends CrudRepository<Person, Integer> {
|
|
|
|
public interface PersonRepository extends CrudRepository<Person, Integer> {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|