Is this considered bad business layer design?

Posts   
 
    
KristianP
User
Posts: 32
Joined: 23-Feb-2005
# Posted on: 05-Jan-2006 23:02:05   

Let's say I have two business service components which contain my BL controller classes (they are also located in diff. assemblies). One is Accounting and one is Sales. Now, accounting needs to use the services from the sales components, so the accounting dll has a ref to the sales component. Also, the sales has to use the services of the accounting dll, so he has a ref to the accounting dll. Since this is a circular dependecy, is this considered bad design?

alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 06-Jan-2006 15:58:49   

I don't know if it's a bad design, but as I see it, your only other option would be to create a THIRD project that references your other two projects and use it for functions that require your original components.