Skip to content

Instantly share code, notes, and snippets.

@HamidMosalla
Created December 6, 2017 12:43
Show Gist options
  • Save HamidMosalla/3d12fb4dd161cf8fce255959f493ba4b to your computer and use it in GitHub Desktop.
Save HamidMosalla/3d12fb4dd161cf8fce255959f493ba4b to your computer and use it in GitHub Desktop.
[Authorize("Founder")]
public IActionResult Secure()
{
ViewData["Message"] = "Secure page.";
return View();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment