public IHttpActionResult DeleteWish(int id) { try { travelService.DeleteWish(id); return(Ok()); } catch (ValidationException ex) { return(Content(HttpStatusCode.BadRequest, ex.Message)); } }