示例#1
0
 public ActionResult DeleteConfirmed(long id)
 {
     try
     {
         _obisSetRepository.DeleteObisSet(id, GetUserId());
         return(RedirectToAction("Index"));
     }
     catch (Exception e)
     {
         ExceptionMessageToViewBag(e);
         return(View("Error"));
     }
 }