//DELETE public IHttpActionResult Delete(int id) { var quer = _service.Delete(id); if (quer == false) { return(NotFound()); } return(Ok()); }
// DELETE: api/Offer/5 public bool Delete(int id) { return(offerService.Delete(id)); }