public IHttpActionResult Delete(int pid)
 {
     orderItemRepository.Delete(pid);
     return(StatusCode(HttpStatusCode.NoContent));
 }
 public void Delete(long?id)
 {
     _OrderedItemRepository.Delete(id);
 }