コード例 #1
0
ファイル: SrvKycManager.cs プロジェクト: hzl091/OAuth-1
        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);
        }