public ActionResult RemoveManagedGiving(int peopleId, int orgId) { var m = new ManageGivingModel(peopleId, orgId); m.CancelManagedGiving(peopleId); m.ThankYouMessage = "Your recurring giving has been stopped."; m.Log("Remove"); TempData["managegiving"] = m; return(Json(new { Url = Url.Action("ConfirmRecurringGiving") })); }
public ActionResult RemoveManagedGiving(int peopleId, int orgId) { var m = new ManageGivingModel(CurrentDatabase.Host, peopleId, orgId); m.CancelManagedGiving(peopleId); m.ThankYouMessage = "Your recurring giving has been stopped."; m.Log("Remove"); RequestManager.SessionProvider.Add("managegiving", m); return(Json(new { Url = Url.Action("ConfirmRecurringGiving") })); }