public async Task Handle(AccountChangedEvent e) { var accountId = e?.Account?.Id; if (string.IsNullOrEmpty(accountId)) { await _log.WriteWarningAsync( nameof(AccountChangedProjection), nameof(Handle), e.ToJson(), "Account id is empty"); } else { await _accountManagementService.ClearStatsCache(accountId); } }