示例#1
0
        public ActionResult SignUp(User model)
        {
            context.Users.Add(model);
            context.SaveChanges();

            return(RedirectToAction("Login"));
        }