|
|
|
|
85
|
-
|
85
|
-
|
86
|
# Part 2.2 - Create interface `PollRepository`
|
86
|
# Part 2.2 - Create interface `PollRepository`
|
87
|
* Create a `PollRepository` interface in the `repositories` subpackage.
|
87
|
* Create a `PollRepository` interface in the `repositories` subpackage.
|
88
|
-* `PollRepository` extends `CrudRepository<Option, Long>`
|
|
|
|
|
88
|
+* `PollRepository` extends `CrudRepository<Poll, Long>`
|
89
|
|
89
|
|
90
|
-
|
90
|
-
|
91
|
# Part 2.3 - Create interface `VoteRepository`
|
91
|
# Part 2.3 - Create interface `VoteRepository`
|
92
|
* Create a `VoteRepository` interface in the `repositories` subpackage.
|
92
|
* Create a `VoteRepository` interface in the `repositories` subpackage.
|
93
|
-* `VoteRepository` extends `CrudRepository<Option, Long>`
|
|
|
|
|
93
|
+* `VoteRepository` extends `CrudRepository<Vote, Long>`
|
94
|
|
94
|
|
95
|
|
95
|
|
96
|
|
96
|
|