public bool HasPermission(Permission permission) { return _permissions.Contains(permission); }
public void RemovePermission(Permission permission) { if (HasPermission(permission)) { _permissions.Remove(permission); } }
public void AddPermission(Permission permission) { _permissions.Add(permission); }