Last active
May 29, 2018 18:57
-
-
Save wellingtonjhn/a0c820a1a2242c82d66034058b04f03e to your computer and use it in GitHub Desktop.
Policy Requirement
This file contains hidden or 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
| public class DeleteUserRequirement : IAuthorizationRequirement | |
| { | |
| public string RequiredPermission { get; } | |
| public DeleteUserRequirement(string requiredPermission) | |
| { | |
| RequiredPermission = requiredPermission; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment