//public ActionResult Edit([Bind(Include = "CustomerID,CompanyName")] Customer customer)
 //{
 //    if (ModelState.IsValid)
 //    {
 //        db.Entry(customer).State = EntityState.Modified;
 //        db.SaveChanges();
 //        return RedirectToAction("RenderGrid");
 //    }
 //    return View(customer);
 //}
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }