예제 #1
0
 public IActionResult RestorePassword(string token)
 {
     var mail = api.GetEmailByToken(Guid.Parse(token));
     if (mail == String.Empty)
     {
         RedirectToAction("Register");
     }
     var model = new ModifyPasswordViewModel()
     {
         mail = mail
     };
     return View(model);
 }