public async Task HandleAsync(ApiKeyCreated @event) { await _userFeaturesManager.IncreaseFeatureUsageAsync(@event.UserId, FeatureType.AddApiKey); }
public async Task HandleAsync(WardenCreated @event) { await _userFeaturesManager.IncreaseFeatureUsageAsync(@event.UserId, FeatureType.AddWarden); }
public async Task HandleAsync(WardenCheckResultProcessed @event) { await _userFeaturesManager.IncreaseFeatureUsageAsync(@event.UserId, FeatureType.AddWardenCheck); }
public async Task HandleAsync(OrganizationCreated @event) { await _userFeaturesManager.IncreaseFeatureUsageAsync(@event.UserId, FeatureType.AddOrganization); }