public ActionResult Delete(int id, CustomerViewModel viewModel) { try { customService.DeleteCustom(id); return(RedirectToAction("Index")); } catch { ModelState.AddModelError("", "An error has occured. This Employee was not deleted."); } return(View(viewModel)); }