Пример #1
0
        public async Task ChangeZipAsync(string clientId, string zip, string changer)
        {
            var dataBefore = await _personalDataService.GetAsync(clientId);

            await _personalDataService.ChangeZipAsync(clientId, zip);

            var dataAfter = await _personalDataService.GetAsync(clientId);

            await
            _auditLogRepository.AddAuditRecordAsync(clientId, dataBefore, dataAfter, AuditRecordType.PersonalData,
                                                    changer);
        }