public ActionResult Edit(string id)
 {
     CarServiceClient csc = new CarServiceClient();
     CarViewModel cvm = new CarViewModel();
     cvm.car = csc.find(id);
     return View("Edit",cvm);
 }
 // GET: Car
 public ActionResult Index()
 {
     CarServiceClient csc = new CarServiceClient();
     CarViewModel cvm = new CarViewModel();
     cvm.list = csc.findAll();
     return View(cvm);
 }
 public ActionResult Edit(CarViewModel cvm)
 {
     CarServiceClient csc = new CarServiceClient();
     csc.edit(cvm.car);
     return RedirectToAction("Index");
 }
 public ActionResult Delete(string id)
 {
     CarServiceClient csc = new CarServiceClient();
     csc.delete(csc.find(id));
     return RedirectToAction("Index");
 }