Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static class Security
- {
- public enum BlogManager
- {
- [DisplayAttribute(Description = "Can view the blog.")]
- //[RequiredValues(nameof(View))]
- [RequiredValues(nameof(View), nameof(Editor))]
- View,
- [DisplayAttribute(Description = "Can edit blog posts.")]
- [RequiredValues(nameof(Editor))]
- Editor,
- }
- }
Add Comment
Please, Sign In to add comment