Is it possble to have something like this in ASP.NET MVC...
[Authorize]
[AcceptVerbs(HttpVerbs.Get)]
public string AddData(string Issues, string LabelGUID)
{
return "Authorized";
}
[AcceptVerbs(HttpVerbs.Get)]
public string AddData()
{
return "Not Authorized";
}
So if the user is not logged in, it defaults to the un-Authorized action.