public ActionResult DeleteConfirmed(long id) { viewRepository.Delete(id); viewRepository.Save(); return(RedirectToAction("Index")); }