0
ignasiclos created
Hello,
I have the need of executing some business code from 2 different AppServices. I assume that the way to it is to put the logic in a service that both appservices can consume. Both app services are receiving a DTO object, that I have to process and store in the DB.
My doubt is. If I want to reuse as much code as possible, I'd need to process the DTO in the service layer, but the Core project doesn't have a reference to it.
Would be a good practice to add a reference to Application.Shared to Core project? If not, would be any other approach?
Thanks
2 Answer(s)
-
0
Hi ignasiclos, Core projects generally store domain services or aggregations. Of course, ABP does not force you to do this.
-
0
Thanks!