public HttpResponseMessage Get(int id) { var orderLines = _orderLineRepository.Get(id); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, orderLines); return(response); }
public OrderLine Get(long id) { return(_orderLineRepository.Get(id)); }