Пример #1
0
 public IActionResult Create(UserReg uc)
 {
     _auc.Add(uc);
     _auc.SaveChanges();
     ViewBag.message = "The user" + uc.Fname + "Registered";
     return(View());
 }