Exemplo n.º 1
0
        public async Task <IActionResult> PostMessage([FromBody] PersonModel personModel)
        {
            await _queueService.SendMessageAsync <PersonModel>(personModel, "personqueue", ServiceBusType.Queue);

            return(Created("", null));
        }