Senden Sie Daten zwischen Aktionen mit redirectAction und prg pattern

Wie kann ich mit redirectAction Daten zwischen Aktionen senden?

Ich verwende PRG-Muster. Und ich möchte so etwas machen

[HttpGet]
    [ActionName("Success")]
    public ActionResult Success(PersonalDataViewModel model)
    {
        //model ko
        if (model == null)
            return RedirectToAction("Index", "Account");

        //model OK
        return View(model);
    }

    [HttpPost]
    [ExportModelStateToTempData]
    [ActionName("Success")]
    public ActionResult SuccessProcess(PersonalDataViewModel model)
    {

        if (!ModelState.IsValid)
        {
            ModelState.AddModelError("", "Error");
            return RedirectToAction("Index", "Account");
        }

        //model OK
        return RedirectToAction("Success", new PersonalDataViewModel() { BadgeData = this.GetBadgeData });
    }

Antworten auf die Frage(3)

Ihre Antwort auf die Frage