Is it good practice to use a AppService with another AppService #8565
Unanswered
vnetonline
asked this question in
Q&A
Replies: 2 comments 1 reply
-
If you use appservice with another you will create a dependency between them. For a good practice try to handle hem with repository in appService or with Manager in your domain. AppService : https://docs.abp.io/en/abp/latest/Domain-Driven-Design-Implementation-Guide#application-services Example : https://docs.abp.io/en/abp/latest/Domain-Driven-Design-Implementation-Guide#examples |
Beta Was this translation helpful? Give feedback.
1 reply
-
use a DomainService that gathers both or as @amsaighi says create a Manager class |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering is it good practice to use a AppService within another AppService or should you use IReposotries and Managers like the RoleManager etc etc
Beta Was this translation helpful? Give feedback.
All reactions