// POST api/values public void Post([FromBody] Message Message) { var jsonMessage = JsonConvert.SerializeObject(Message); MessageHub.PushMessage(jsonMessage); }