public ActionResult Create(AssertType assertType)
 {
     try
     {
         _dbAssertTypeRepository.Insert(assertType);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View(assertType));
     }
 }
Esempio n. 2
0
 public int Insert(AssertType assertType)
 {
     return(_dbRepository.Insert(assertType.Name));
 }