我想在我的select中添加Sesson Storage with options。我有4个选择。无论用户选择什么,我都希望该选择在当前会话中持续存在,或者直到用户再次更改该选项。 下面是我的控制器操作 public IActionResult Index(string sortOrder, string filterString) //These lines of code creates the filtering for all the types
ViewData["TypeSortParm"] =