Hi Guys,
This may be a silly question, but I've been trying to improve my knowledge on Dependency Injection and am re-working an existing (fairly simple) project to utilise my new knowledge.
However, I have the following question and I'm not certain what the correct approach is.
I have an couple of common Enums, (FileTypeEnum, SurveyTypeEnum) they are static and cannot change due to the design requirements and legal requirements of the project.
They need to be accessed in the UI, the Domain logic and the Data Access Layer.
So my thought is to create a separate class library project called Common and put them in there, but how can can I do that without creating a hard dependency to it within each of the other modules? Or does that hard dependency not matter?
Hope you can enlighten me.
Regards