public ProcessorResponse(IActionResult responseValue, MessageDTO messageValue) { Response = responseValue; Message = messageValue; }
private async Task EnqueueMessage(IAsyncCollector <MessageDTO> queueCollector, MessageDTO message) { if (message != null) { m_logger.LogInformation($"Enqueuing {message.Skill} - {message.Intent}"); await queueCollector.AddAsync(message); } }