Exemplo n.º 1
0
 public ActionResult Create(Term term)
 {
     if (ModelState.IsValid)
     {
         _termRepository.InsertOrUpdate(term);
         _termRepository.Save();
         return(RedirectToAction("Management"));
     }
     return(View(term));
 }