Skip to content

Instantly share code, notes, and snippets.

@softwarejc
Last active January 31, 2016 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save softwarejc/e15596a8e418c9e4e02d to your computer and use it in GitHub Desktop.
Save softwarejc/e15596a8e418c9e4e02d to your computer and use it in GitHub Desktop.
[HttpGet]
[Authorize(CookieMonsterSecurity.OnlyGoodMonstersPolicy)]
public IActionResult Info()
{
//... something that only good monsters can do
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment