Пример #1
0
 public ActionResult NewTerm(TermDTO term)
 {
     try {
         _service.AddTerm(term, User.Identity.GetUserName());
         return(RedirectToAction("Index"));
     }
     catch {
         return(View());
     }
 }