public HttpResponseMessage Put(Order order) { Repository<Order>.Update(order); return Request.CreateResponse(HttpStatusCode.OK); }
public HttpResponseMessage Post(Order order) { var orderId = Repository<Order>.Insert(order); return Request.CreateResponse(HttpStatusCode.OK, orderId); }