public ActionResult DeletePublication(Publication model) { if (ModelState.IsValid) { var response = _main.AttemptResponse(() => { _admin.DeletePublication(model.Id); return(true); }); return(RedirectToAction("Publications")); } return(RedirectToAction("Publications")); }