Overriding the PageModel() constructer for setting up default properties (Razor Pages)

前端 未结 0 1515
陌清茗
陌清茗 2021-02-18 16:24

I am new to Razor Pages and looking for the best way to solve my problem.

Say I have an IndexModel class, that has some properties that rely on a DB context that is injec

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