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