Пример #1
0
        public Task Handle(DocketExtractSent notification, CancellationToken cancellationToken)
        {
            var diffLog = _repository.GetLog(notification.Docket, notification.Extract);

            if (null != diffLog)
            {
                diffLog.LogSent();
                _repository.SaveLog(diffLog);
            }

            return(Task.CompletedTask);
        }
Пример #2
0
        public void should_Get_Log()
        {
            var diffLog = _repository.GetLog("ndwh", "PatientExtract");

            Assert.NotNull(diffLog);
        }