public async Task ChangePhoneAsync(string clientId, string phoneNumber, string changer) { var dataBefore = await _personalDataService.GetAsync(clientId); await _clientAccountsRepository.ChangePhoneAsync(clientId, phoneNumber); await _personalDataService.ChangeContactPhoneAsync(clientId, phoneNumber); var dataAfter = await _personalDataService.GetAsync(clientId); await _auditLogRepository.AddAuditRecordAsync(clientId, dataBefore, dataAfter, AuditRecordType.PersonalData, changer); }