0
paradoxit created
Hi,
I have an issue where adding an AppService to a constructor I get a Castle Windsor DI error as it's creating a circular dependency, i.e. AppService1 requires AppService2 and AppService2 requires AppService1.
Can someone please advise how I achieve this?
For example a UserAppService method DeleteUser might call ContactAppService and a method in ContactAppService might need to call UserAppService.
I hope it makes sense.
Andy help would be greatly appreciated.
Kind regards, David Hawkins
1 Answer(s)
-
0
The short answer is: You can't. You should use a domain service/manager instead. See detailed answers: Should I be calling an AppService from another AppService?