public ActionResult AlertSubscription([FromBody] Subscription subscriber) { try { RabbitMQClient client = new RabbitMQClient(subscriber); client.AddAlert(subscriber); client.Close(); } catch (Exception) { return(BadRequest()); } return(Ok(subscriber)); }