protected HttpUnauthorized ( ) : System.Web.Mvc.HttpUnauthorizedResult | ||
return | System.Web.Mvc.HttpUnauthorizedResult |
protected HttpUnauthorizedResult HttpUnauthorized()
{
throw new HttpException((int)HttpStatusCode.Unauthorized, "Current user is does not have permission to access this page");
}