How to get the current Id of a user to pass to _Layout Asp Net Core?

后端 未结 0 1588
滥情空心
滥情空心 2021-02-07 03:10

I need to pass the Id of the current user to the _Layout master page.

It must be passed to where "asp-route-id"



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