private async Task DeleteInvitationsAsync(UserId userId) { try { await _invitationService.DeleteInvitationsAsync(userId); } catch (Exception exception) { _logger.LogCritical(exception, "The user's clan invitations have not been deleted correctly."); } }
private async Task DeleteCandidaturesAsync(ClanId clanId) { try { await _invitationService.DeleteInvitationsAsync(clanId); } catch (Exception exception) { _logger.LogCritical(exception, "The clan's user invitations have not been deleted correctly."); } }