Skip to content

Instantly share code, notes, and snippets.

@mclasson
Created August 3, 2017 08:54
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 mclasson/46606a9181d2aa20d94358d6161c26d9 to your computer and use it in GitHub Desktop.
Save mclasson/46606a9181d2aa20d94358d6161c26d9 to your computer and use it in GitHub Desktop.
using Microsoft.AspNetCore.Authorization;
namespace [namespace].Controllers
{
[Authorize]
public class HomeController : Controller
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment