public ActionResult Cancelar(int id) { try { _pagosManager.Cancelar(id); } catch (Exception ex) { throw new Exception(ex.Message); } return(RedirectToAction("Index")); }