예제 #1
0
        public IActionResult OnPost()
        {
            if (!ModelState.IsValid)
            {
                return(Page());
            }

            _service.CreateCustomer(signup);
            HttpContext.Session.SetString("Account", signup.Account);
            return(RedirectToPage("Index"));
        }