public IHttpActionResult Get(int id) { var order = _business.GetById(id); if (order != null) { return(Ok(order)); } return(BadRequest()); }