Guest User

Untitled

a guest
Jan 19th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public static class Security
  2. {
  3. public enum BlogManager
  4. {
  5. [DisplayAttribute(Description = "Can view the blog.")]
  6. //[RequiredValues(nameof(View))]
  7. [RequiredValues(nameof(View), nameof(Editor))]
  8. View,
  9.  
  10. [DisplayAttribute(Description = "Can edit blog posts.")]
  11. [RequiredValues(nameof(Editor))]
  12. Editor,
  13. }
  14. }
Add Comment
Please, Sign In to add comment