public ActionResult Registration(RegistrationViewModel registrationViewModel)
{
var notConfirmedUser = new NotConfirmedUser()
{
Name = registrationViewModel.Name,
Surname = registrationViewModel.Surname,
Email = registrationViewModel.Email,
CreateDate = DateTime.Now,
Password = AccountHelper.GetHash256ByString(registrationViewModel.Password + AccountHelper.AuthSecret),
ConfirmationCode = AccountHelper.RandomString(),
RequestIp = Request.UserHostAddress
};
db.NotConfirmedUsers.InsertOnSubmit(notConfirmedUser);
db.SubmitChanges(); //////
ModelState.Clear(); ///////
return View();