public IHttpActionResult AddModel([FromBody] JObject newModel) { try { newModel.Add("UserAdded", User.Identity.GetUserName()); return(Ok(_dataSource.AddModel(newModel))); } catch { return(BadRequest("Nope, they can't come out with new cars anymore. Sorry.")); } }