Exemplo n.º 1
0
        public ActionResult Signup(SignUpInfo formData)
        {
            var model = new FormPageModel()
            {
                JSXControlName = "Components.SignUp",
                JSXControlProps = new
                {
                    initialData = formData,
                    postbackURL = "/Home/Signup"
                }
            };

            return View("~/Views/Forms/SingleColumn.cshtml", model);
        }
Exemplo n.º 2
0
        public ActionResult Signup()
        {
            var model = new FormPageModel()
            {
                JSXControlName = "Components.SignUp",
                JSXControlProps = new
                {
                    initialData = new SignUpInfo()
                    {
                        UserName = "******",
                        Email = "*****@*****.**"
                    },
                    postbackURL = "/Home/Signup"
                }
            };

            return View("~/Views/Forms/SingleColumn.cshtml", model);
        }