Remove @Repository comment
This commit is contained in:
@@ -2,10 +2,8 @@ package blog
|
||||
|
||||
import org.springframework.data.repository.CrudRepository
|
||||
|
||||
// @Repository is not required
|
||||
interface ArticleRepository : CrudRepository<Article, Long> {
|
||||
fun findAllByOrderByAddedAtDesc(): Iterable<Article>
|
||||
}
|
||||
|
||||
// @Repository is not required
|
||||
interface UserRepository : CrudRepository<User, String>
|
||||
Reference in New Issue
Block a user