示例#1
0
 public ActionResult Registration(RegistrUserModel model, string ConfirmPassword)
 {
     if (ModelState.IsValid)
     {
         bool IsCompareLogin = Authentification.NoMatches(model.LogIn);
         if (IsCompareLogin)
         {
             Authentification.Registration(model);
             return(RedirectToAction("ViewerNameForum", "Home"));
         }
     }
     return(View());
 }