diff options
Merge branch 'fuckoff' into 'master'
New structure
See merge request Syndamia/it-kariera-exam-template!2
1 files changed, 17 insertions, 0 deletions
| -rw-r--r-- | ExamTemplate/Common/ExamTemplate.Common/RoleConst.cs | 17 |
diff --git a/ExamTemplate/Common/ExamTemplate.Common/RoleConst.cs b/ExamTemplate/Common/ExamTemplate.Common/RoleConst.cs new file mode 100644 index 0000000..7d72fea --- /dev/null +++ b/ExamTemplate/Common/ExamTemplate.Common/RoleConst.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; + +namespace ExamTemplate.Common +{ + public static class RoleConst + { + public const string User = "User"; + public const string Admin = "Administrator"; + + public static List<string> GetAllNames() + { + return new List<string>() { + User, Admin + }; + } + } +} |
