public IHttpActionResult Delete(int id) {
     var db = new ApplicationDbContext();
     var customer = db.Customers.Find(id);
     db.Customers.Remove(customer);
     db.SaveChanges();
     return Ok();
 }
        public IHttpActionResult Post(Customer customer) {

            var db = new ApplicationDbContext();

            db.Customers.Add(customer);
            db.SaveChanges();

            return Ok();
        }
        public Customer Get(int id)
        {
            var db = new ApplicationDbContext();

            return (from c in db.Customers
                .Include(c => c.BillingAddress)
                .Include(c => c.ShippingAddress)
                    where c.Id == id
                    select c).FirstOrDefault();
        }