Functionality to modify access levels is operational
This commit is contained in:
@@ -29,5 +29,19 @@ public class AccessLevel
|
||||
Level = "Private"
|
||||
};
|
||||
}
|
||||
|
||||
public static bool IsAccessLevelValid(string level) {
|
||||
if (level.Equals(DefaultLevel().Level)) {
|
||||
return true;
|
||||
}
|
||||
else if (level.Equals(PrivateLevel().Level)) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user