Skip to content

Instantly share code, notes, and snippets.

@mclasson
Created August 3, 2017 08:54
Show Gist options
  • 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