public ActionResult Edit(int id, ExpectedResultType expectedResultType)
 {
     try
     {
         _dbExpectedResultTypeRepository.Update(expectedResultType);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View(expectedResultType));
     }
 }
Пример #2
0
 public void Update(ExpectedResultType expectedResultType)
 {
     _dbRepository.Update(expectedResultType.Name, expectedResultType.Id);
 }