I have a project with two namespaces, Interfaces, and Services. Each service implements its corresponding interface. Now I need method declarations to include an enum declared for one service. Which namespace do I put the enum in? If I put it in Services, I need to reference Services in Interfaces, which is just ugly. It would be quite neat to pu it in interfaces, but that’s not really where enums belong. Suggestions on where to place this enum will be welcome.
I have a project with two namespaces, Interfaces, and Services. Each service implements its
Share
I would recommend a common namespace / assembly referenced by both. Where are your DTOs / Entities defined? This may be the ideal location.