Created
January 18, 2020 02:02
-
-
Save scottsauber/7e9cb1fd21cd11f4167e5beb593c51c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Authorize(PolicyName="Admin")] | |
public class IndexModel : PageModel | |
{ | |
public void OnGet() | |
{ | |
// do something | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment