When do you create a new controller and when do you combine them in asp net core with dependency injection

后端 未结 0 594
遇见更好的自我
遇见更好的自我 2020-12-06 22:57

I have a asp net core project. I use dependency injection.

My question is when do I create a new controller and when do I reuse the same one with a new dependency.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题