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