ActivityLog.Controllers.CustomersController.Edit C# (CSharp) Method

Edit() private method

private Edit ( ActivityLog.Models.Customer customer ) : System.Web.Mvc.ActionResult
customer ActivityLog.Models.Customer
return System.Web.Mvc.ActionResult
        public ActionResult Edit(Customer customer)
        {
            if (ModelState.IsValid) {
                customerRepository.InsertOrUpdate(customer);
                customerRepository.Save();
                return RedirectToAction("Index");
            } else {
				return View();
			}
        }

Same methods

CustomersController::Edit ( int id ) : System.Web.Mvc.ActionResult