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