コード例 #1
0
        public ActionResult DeleteVaultData(int id)
        {
            var manageGiving = new ManageGivingModel();

            manageGiving.CancelManagedGiving(id);

            return(Content("ok"));
        }
コード例 #2
0
ファイル: ManageGiving.cs プロジェクト: bsbillings/bvcms
        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") }));
        }
コード例 #3
0
ファイル: ManageGiving.cs プロジェクト: rastographics/bvcms
        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") }));
        }