public RedirectToRouteResult DeletePaper(int PaperId) { if (_editor.DeletePaper(PaperId) == 0) { return(RedirectToAction("Index")); } else { return(null); } }