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