Esempio n. 1
0
        public ActionResult SignUp(int id, bool?back = false)
        {
            session.SetLoadedPage(id);

            var email = id != 1 ? session.GetString(CurrentPaEmail) : string.Empty;

            var model = accountCreationViewModelBuilder.Build(email);

            return(back.HasValue && back.Value
                ? GetPreviousView(id, FormSection.SignUp, model)
                : GetNextView(id, FormSection.SignUp, model));
        }