コード例 #1
0
ファイル: PersonController.cs プロジェクト: EdgarVerona/cjns
 public ActionResult Create(Person d)
 {
     if (ModelState.IsValid)
     {
       this.repository.Add(d);
       this.repository.Save();
       return RedirectToAction("Index");
     }
     return View();
 }
コード例 #2
0
ファイル: PersonRepository.cs プロジェクト: EdgarVerona/cjns
 public void Update(Person domainEntity)
 {
     throw new NotImplementedException();
 }