public ActionResult Create(Person d) { if (ModelState.IsValid) { this.repository.Add(d); this.repository.Save(); return RedirectToAction("Index"); } return View(); }
public void Update(Person domainEntity) { throw new NotImplementedException(); }
public ActionResult Create(Person d) { if (ModelState.IsValid) { this.repository.Add(d); this.repository.Save(); return RedirectToAction("Index"); } return View(); }
public void Update(Person domainEntity) { throw new NotImplementedException(); }