1
是任何解决方案,以纪念像这样asp.net的MVC IsAuthenticated属性
[IsAuthenticated(true)]
public ActionResult Profile()
{
return View();
}
没有方法调用if (request.IsAuthenticated)
?
是任何解决方案,以纪念像这样asp.net的MVC IsAuthenticated属性
[IsAuthenticated(true)]
public ActionResult Profile()
{
return View();
}
没有方法调用if (request.IsAuthenticated)
?
[Authorize]
public ActionResult Profile()
{
return View();
}