【发布时间】:2022-10-07 17:21:29
【问题描述】:
实际上,我的参数可以为空。那么如果它是 null ,我该如何隐藏。 我想在控制器端处理
[Route(\"2\")]
[HttpGet]
public ActionResult Index(string eID)
{
return view();
}
The url i\'m getting like /2?eID
My eID can be null. I want to hide if eID is null in URL