From 82d270a66b8ffca28e321f29b2eb90b2412ac9a7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 8 May 2021 18:10:08 +0300 Subject: Implemented authorization; Replaced Role with IdentityRole; Renamed UserController to AccountController, updated links --- ExamTemplate/Common/RoleConst.cs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ExamTemplate/Common/RoleConst.cs (limited to 'ExamTemplate/Common/RoleConst.cs') diff --git a/ExamTemplate/Common/RoleConst.cs b/ExamTemplate/Common/RoleConst.cs new file mode 100644 index 0000000..3f0dfb7 --- /dev/null +++ b/ExamTemplate/Common/RoleConst.cs @@ -0,0 +1,8 @@ +namespace ExamTemplate.Common +{ + public static class RoleConst + { + public static string User = "User"; + public static string Admin = "Administrator"; + } +} -- cgit v1.2.3