📜  如何让用户显示 mvc 控制器核心 3.1 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:00.831000             🧑  作者: Mango

代码示例4
private readonly IHttpContextAccessor _httpContextAccessor;
//constructor then
_httpContextAccessor = httpContextAccessor;