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