public async Task Delete(string id, CancellationToken token = default) { id.VerifyNotEmpty(nameof(id)); IMetadataRecordActor actor = _actorHost !.GetActor <IMetadataRecordActor>((ActorKey)id); await actor.Delete(token); }
public async Task Set(MetadataRecord record, CancellationToken token = default) { record.VerifyNotNull(nameof(record)); IMetadataRecordActor actor = _actorHost !.GetActor <IMetadataRecordActor>((ActorKey)record.Id); await actor.Set(record, token); }