private ActionResult DoEdit(Customer customer)
 {
     var viewModel = new EditCustomerViewModel(customer);
     return View("Edit", viewModel);
 }
 public ActionResult Save(EditCustomerViewModel viewModel)
 {
     _repository.TrySaveUpdate(new CustomerUpdater(viewModel));
     return RedirectToAction("Index");
 }