public ActionResult Edit(Customer customer)
 {
     if (ModelState.IsValid)
     {
         context.Entry(customer).State = EntityState.Modified;
         context.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(customer);
 }
        public ActionResult Create(Customer customer)
        {
            if (ModelState.IsValid)
            {
                context.Customer.Add(customer);
                context.SaveChanges();
                return RedirectToAction("Index");  
            }

            return View(customer);
        }