public async Task <IActionResult> AddMessage(string Message) { try { await QueueClient.AddQueueMessagesAsync(Message); } catch (Exception ex) { logger.LogException("AddMessage", ex, ex.ToString()); throw; } return(Ok()); }