Open vahid-forghani opened 2 years ago
https://github.com/amezenin/encyclopedia-kn/blob/d53e5f3c72c28001a877e8c4e140c8eff7fe7b01/src/main/java/com/knits/product/service/ArticleService.java#L36
You are only allowed to use ArticleRepository in ArticleService and for other you need to use their service
ArticleRepository
ArticleService
https://github.com/amezenin/encyclopedia-kn/blob/d53e5f3c72c28001a877e8c4e140c8eff7fe7b01/src/main/java/com/knits/product/service/ArticleService.java#L36 You are only allowed to use ArticleRepository in ArticleService and for other you need to use their service
Thank you! Fixed
https://github.com/amezenin/encyclopedia-kn/blob/d53e5f3c72c28001a877e8c4e140c8eff7fe7b01/src/main/java/com/knits/product/service/ArticleService.java#L36
You are only allowed to use
ArticleRepository
inArticleService
and for other you need to use their service