예제 #1
0
 protected override ActionResult RedirectToActionAfterSuccessCreate(AfterSuccessSaveParam afterSuccessSaveParam)
 {
     switch (afterSuccessSaveParam.NextStep)
     {
     case 0:
     case 1:
         return(Json(JsonWizardResult.CreateSuccess(afterSuccessSaveParam.Id, afterSuccessSaveParam.TargetHtmlId, GetNextStep(afterSuccessSaveParam.NextStep), afterSuccessSaveParam.GetAction())));
     }
     return(View(afterSuccessSaveParam.Action, afterSuccessSaveParam.Dto));
 }
예제 #2
0
 protected override ActionResult RedirectToActionAfterSuccessCreate(AfterSuccessSaveParam afterSuccessSaveParam)
 {
     return(Json(JsonDialogResult.CreateSuccess(afterSuccessSaveParam.TargetHtmlId, null, afterSuccessSaveParam.GetAction())));
 }