public virtual void RemoveScope(string name) { Scopes.RemoveAll(r => r.Name == name); }
public virtual void RemoveScope(string scope) { Scopes.RemoveAll(r => r.Scope == scope); }