public async Task<ActionResult> ResetPassword(ResetPassword model)
        {
            if (!ModelState.IsValid)
                return View(model);

            var result = await _userManager.ResetPasswordAsync(model.UserId, model.Code, model.Password);
            if (result.Succeeded)
                return View("Index");

            AddModelErrors(result);
            return View(model);
        }
        public ActionResult ResetPassword(int userId, string code)
        {
            var model = new ResetPassword()
            {
                UserId = userId,
                Code = code,
            };

            return View(model);
        }