// DELETE: api/Order/5 public IHttpActionResult Delete(Guid id) { try { orderBusiness.DeleteOrder(id); return(Ok()); } catch { return(InternalServerError()); } }
public bool DeleteOrder(int id) { var data = _orderBusiness.DeleteOrder(id); return(true); }
public IHttpActionResult Delete(int id) { return(Ok(_orderBusiness.DeleteOrder(id))); }