Skip to main content
1 of 8
jpmc26
  • 29.8k
  • 8
  • 78
  • 118

Several problems come immediately to mind.

  1. This is completely a design question. It's not about the code as much as it is about the principles of the technology you're using. The answer probably won't (or at least doesn't need to) involve code. You could ask the same question about a number of other languages without even involving C#. This immediately suggests it'd probably be a much better fit for Software Engineering.
  2. You've made your question specific to the point of uselessness. In an effort to mitigate the first point, it's become "too localized," as the old close reason used to say. You've narrowed it down by including a lot of unnecessary details (like you have a "business logic layer into which services are injected as dependencies" and a "data repository service that performs CRUD"). Your question is about an overall design. The real design question is getting lost in this overload of details.
  3. As a result of all that specificity, your question has morphed into something approaching a "write my super complex code for me" question that can't even possibly present enough context to make that feasible.

To fix it, make your question about the principles and the overall design and ask on SoftwareEngineering.SE instead. A TL;DR section isn't going to fix this.

jpmc26
  • 29.8k
  • 8
  • 78
  • 118