コード例 #1
0
 public IActionResult CreateWay(User1 newUser)
 {
     Console.WriteLine(newUser.Username);
     User1.CreateUser(newUser);
     return(RedirectToAction("Index"));
 }
コード例 #2
0
 public IActionResult Register(User1 newUser)
 {
     User1.CreateUser(newUser);
     return(RedirectToAction("Login"));
 }