public async Task <string> AddAuthLogAsync(EffectiveAuthorizationEvent effectiveAuthorizationEvent) { // Store event and re-raise event var output = await rawEventStorage.WriteRawEventAsync(effectiveAuthorizationEvent); await bus.GetTopicEffectiveAuthorizationEventStored(). DispatchAsync(effectiveAuthorizationEvent); return(output); }
public async Task <string> AddAuthLogAsync(EffectiveAuthorizationEvent effectiveAuthorizationEvent) { return(await _rawEventStorage.WriteRawEventAsync(effectiveAuthorizationEvent)); }