public ActionResult AddChat([FromBody] BodyParams body) { if (sqlHelper.AddChat(body.RoomCode, body.Chat)) { return(Ok()); } else { return(BadRequest()); } }