public async Task UnSubscribeToAllNotifications(NotificationSubscriptionInput input) { await _notificationSubscriptionManager.UnsubscribeAsync(input.UserIdentifier, NotificationNames.UserDeleted); await _notificationSubscriptionManager.UnsubscribeAsync(input.UserIdentifier, NotificationNames.RoleAssigned); await _notificationSubscriptionManager.UnsubscribeAsync(input.UserIdentifier, NotificationNames.UserCreated); await _notificationSubscriptionManager.UnsubscribeAsync(input.UserIdentifier, NotificationNames.RoleCreated); await _notificationSubscriptionManager.UnsubscribeAsync(input.UserIdentifier, NotificationNames.RoleDeleted); }
public async Task UnSubscribeToNotification(NotificationSubscriptionInput input) { await _notificationSubscriptionManager.UnsubscribeAsync(input.UserIdentifier, input.NotificationName, input.EntityIdentifier); }