Exemple #1
0
 public IActionResult RegisterIndex(Register register)
 {
     _model.Add(register);
     _model.SaveChanges();
     ViewBag.message = "The user " + register.Username + " is saved successfully !";
     return(View());
 }