Ejemplo n.º 1
0
        public ActionResult ChangePassword(ChangePasswordModel model)
        {
            try
            {
                ViewBag.Title = "Change Password";
                model.ChangePassword();

                ShowSuccessMessage("Password has been updated successfully");
            }
            catch (Exception ex)
            {
                ShowErrorMessage(ex.Message);
            }
            return View(model);
        }
Ejemplo n.º 2
0
 public ActionResult ChangePassword()
 {
     var model = new ChangePasswordModel();
     return View(model);
 }