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

Edit() private method

private Edit ( Person person ) : System.Web.Mvc.ActionResult
person ActivityLog.Models.Person
return System.Web.Mvc.ActionResult
        public ActionResult Edit(Person person)
        {
            if (ModelState.IsValid) {
                personRepository.InsertOrUpdate(person);
                personRepository.Save();
                return RedirectToAction("Index");
            } else {
				ViewBag.PossibleManagers = personRepository.GetAllPeople();
				return View();
			}
        }

Same methods

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