DoFactory Architecture Design
- by Brendan Vogt
Hi,
Has anybody used the Patterns in Action from the Do Factory?
I just have a question on the architecture. I always thought that the service must call the repository. In the solution the have ActionService and a repository. Lets say I want to get all the customers then in my controller I would call the repository's GetCustomers method. This will then call ActionService's GetCustomer's method. And then lastly another GetCustomers method is called in the customer data access object. Is this right?
Any comments on the way that they implemented things in the Patterns in Action?