Фикс бинов
This commit is contained in:
parent
69ff864dc4
commit
f9344933b3
@ -3,6 +3,7 @@ package com.example.nekontakte.subscribes.repository;
|
||||
import com.example.nekontakte.core.repository.MapRepository;
|
||||
import com.example.nekontakte.subscribes.model.SubscribeEntity;
|
||||
|
||||
@Repository
|
||||
public class SubscribeRepository extends MapRepository<SubscribeEntity> {
|
||||
|
||||
}
|
||||
|
@ -3,10 +3,13 @@ package com.example.nekontakte.subscribes.service;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.example.nekontakte.core.errors.NotFoundException;
|
||||
import com.example.nekontakte.subscribes.model.SubscribeEntity;
|
||||
import com.example.nekontakte.subscribes.repository.SubscribeRepository;
|
||||
|
||||
@Service
|
||||
public class SubscribeService {
|
||||
private final SubscribeRepository repository;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user