Пример #1
0
 public ActionResult Step4(RegularThing rt)
 {
     this.RegularOrder.Radio         = rt.Radio;
     this.RegularOrder.ExtraCheckbox = rt.ExtraCheckbox;
     HomeController.AddRequest(Session.SessionID, "/regularwizard/step___4");
     return(View(this.RegularOrder));
 }
 public ActionResult Step4(ACSRFThing act)
 {
     this.ACSRFOrder.Radio         = act.Radio;
     this.ACSRFOrder.ExtraCheckbox = act.ExtraCheckbox;
     HomeController.AddRequest(Session.SessionID, "/acsrfwizard/step___4");
     return(View(this.ACSRFOrder));
 }
 public ActionResult Step4(AuthThing at)
 {
     this.AuthOrder.Radio         = at.Radio;
     this.AuthOrder.ExtraCheckbox = at.ExtraCheckbox;
     HomeController.AddRequest(Session.SessionID, "/authwizard/step___4");
     return(View(this.AuthOrder));
 }
Пример #4
0
 public ActionResult Step2(RegularThing rt)
 {
     if (!string.IsNullOrEmpty(rt.Text))
     {
         this.RegularOrder.Text = rt.Text;
         HomeController.AddRequest(Session.SessionID, "/regularwizard/step_2__");
         return(View(this.RegularOrder));
     }
     else
     {
         return(Redirect("/regularwizard/step1"));
     }
 }
 public ActionResult Step2(ACSRFThing act)
 {
     if (!string.IsNullOrEmpty(act.Text))
     {
         this.ACSRFOrder.Text = act.Text;
         HomeController.AddRequest(Session.SessionID, "/acsrfwizard/step_2__");
         return(View(this.ACSRFOrder));
     }
     else
     {
         return(Redirect("/acsrfwizard/step1"));
     }
 }
Пример #6
0
        public ActionResult Confirm(RegularThing rt)
        {
            if (Session["ordered"] == null)
            {
                Session["ordered"] = new List <IWizardThing>();
            }

            List <IWizardThing> Ordered = (List <IWizardThing>)Session["ordered"];

            Ordered.Add(this.RegularOrder);
            Session["ordered"] = Ordered;
            HomeController.AddRequest(Session.SessionID, "/regularwizard/confirm");
            this.RegularOrder = null;

            return(Redirect("~"));
        }
Пример #7
0
 public ActionResult Step3(RegularThing rt)
 {
     this.RegularOrder.Checkbox = rt.Checkbox;
     HomeController.AddRequest(Session.SessionID, "/regularwizard/step__3_");
     return(View(this.RegularOrder));
 }
Пример #8
0
 public ActionResult Step1()
 {
     HomeController.AddRequest(Session.SessionID, "/regularwizard/step1___");
     return(View(this.RegularOrder));
 }
 public ActionResult Step3(ACSRFThing act)
 {
     this.ACSRFOrder.Checkbox = act.Checkbox;
     HomeController.AddRequest(Session.SessionID, "/acsrfwizard/step__3_");
     return(View(this.ACSRFOrder));
 }
 public ActionResult Step1()
 {
     HomeController.AddRequest(Session.SessionID, "/acsrfwizard/step1___");
     return(View(this.ACSRFOrder));
 }
 public ActionResult Step3(AuthThing at)
 {
     this.AuthOrder.Checkbox = at.Checkbox;
     HomeController.AddRequest(Session.SessionID, "/authwizard/step__3_");
     return(View(this.AuthOrder));
 }