C# Is it a bad idea to create a ViewModel as a controller's field?

后端 未结 0 809
醉梦人生
醉梦人生 2020-12-04 00:41

Would it be a bad idea to put a view model as a controller\'s field?
So that in each of the action methods I would not need to keep on instantiating it with
C

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