// PUT /api/deliveries/5
        public void Put(int id, Delivery delivery)
        {
            Delivery existingDelivery = _dbContext.Deliveries.Find(id);
            if (existingDelivery == null)
                throw new HttpResponseException(HttpStatusCode.NotFound);

            existingDelivery.Description = delivery.Description;
            existingDelivery.IsDelivered = delivery.IsDelivered;
        }
 // POST /api/deliveries
 public void Post(Delivery delivery)
 {
     _dbContext.Deliveries.Add(delivery);
     _dbContext.SaveChanges();
 }