public Result RegisterExternalKey(ref RightsId rightsId, ref AccessKey externalKey) { return(ExternalKeys.Add(rightsId, externalKey)); }