Base solution for your next web application

Activities of "bazzer14"

Hello, Halil.

Let's say i have CustomerAppService and ContactAppService which the Customer (Entity) has many Contact (Entity). In ContactAppService i implemented a method to check the existing contact with the name CheckIfContactExist, then i would like to check again the existing contact in CustomerAppService. And the question is how better implement the existing method call to another service? Is safe to call another application service from constructor (avoid circular dependency)? example:

CustomerAppService(IContactAppService contactAppService)

Due i use DRY principle in my project.

Showing 1 to 1 of 1 entries