public IHttpActionResult PutCustomer_Item_Invoice(int id, Customer_Item_Invoice customer_Item_Invoice)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != customer_Item_Invoice.Id)
            {
                return BadRequest();
            }

            db.Entry(customer_Item_Invoice).State = EntityState.Modified;

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!Customer_Item_InvoiceExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }
        public IHttpActionResult PostCustomer_Item_Invoice(Customer_Item_Invoice customer_Item_Invoice)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.Customer_Item_Invoice.Add(customer_Item_Invoice);
            db.SaveChanges();

            return CreatedAtRoute("DefaultApi", new { id = customer_Item_Invoice.Id }, customer_Item_Invoice);
        }