Esempio n. 1
0
            public override void Logging(Query message)
            {
                var infoSuccess = _systemInfoHelper.StatusInfoSuccess();

                message.Result.SystemInfo.Status = Mapper.Map <StatusInfo>(infoSuccess);
                _systemInfoHelper.SaveAnswer(Mapper.Map <SystemInfoDto>(message.Result.SystemInfo), message.LogAction);
            }
Esempio n. 2
0
            public override void Logging(Command message)
            {
                var messageLog =
                    $"вх. № {message.Result.DocumentNumber}, штрих-код {message.Result.DocumentID}";
                var infoSuccess = _systemInfoHelper.StatusInfoSuccess(messageLog);

                message.Result.SystemInfo.Status = Mapper.Map <StatusInfo>(infoSuccess);
                _systemInfoHelper.SaveAnswer(Mapper.Map <SystemInfoDto>(message.Result.SystemInfo), message.LogAction);
            }