// POST: api/Race public IHttpActionResult Post([FromBody] Race race) { try { raceService.Insert(race); return(Ok()); } catch (Exception ex) { return(BadRequest()); } }