|
|
|
|
78
|
## Part 2.1 - Create interface `OptionRepository`
|
78
|
## Part 2.1 - Create interface `OptionRepository`
|
79
|
|
79
|
|
80
|
* Create an `OptionRepository` interface in the `repositories` subpackage.
|
80
|
* Create an `OptionRepository` interface in the `repositories` subpackage.
|
81
|
-* `OptionRepository` extends `CrudRepository<Option, Long>`
|
|
|
|
|
81
|
+* `OptionRepository` is a subclass of `CrudRepository<Option, Long>`
|
82
|
|
82
|
|
83
|
|
83
|
|
84
|
## Part 2.2 - Create interface `PollRepository`
|
84
|
## Part 2.2 - Create interface `PollRepository`
|
85
|
|
85
|
|
86
|
* Create a `PollRepository` interface in the `repositories` subpackage.
|
86
|
* Create a `PollRepository` interface in the `repositories` subpackage.
|
87
|
-* `PollRepository` extends `CrudRepository<Poll, Long>`
|
|
|
|
|
87
|
+* `PollRepository` is a subclass of `CrudRepository<Poll, Long>`
|
88
|
|
88
|
|
89
|
|
89
|
|
90
|
## Part 2.3 - Create interface `VoteRepository`
|
90
|
## Part 2.3 - Create interface `VoteRepository`
|
91
|
|
91
|
|
92
|
* Create a `VoteRepository` interface in the `repositories` subpackage.
|
92
|
* Create a `VoteRepository` interface in the `repositories` subpackage.
|
93
|
-* `VoteRepository` extends `CrudRepository<Vote, Long>`
|
|
|
|
|
93
|
+* `VoteRepository` is a subclass of `CrudRepository<Vote, Long>`
|
94
|
|
94
|
|
95
|
# Part 3 - Controller Implementation
|
95
|
# Part 3 - Controller Implementation
|
96
|
|
96
|
|