コード例 #1
0
 // DELETE: api/Race/5
 public IHttpActionResult Delete(int id)
 {
     try
     {
         raceService.Delete(id);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest());
     }
 }