Hi there, i have a question about services and their methods. For example i
have two Entities (Company and Category). Each Company can create its own
categories. In which service should i recieve all categories of a company? 

CompanyService => getCategories($companyId)
---- or ----
CategoryService => getAllbyCompanyId($companyId)

What strategy is the best?

Thanks in advance
Dominik



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/service-layer-tp4661722.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to