Exemplo n.º 1
0
 public EditProfileModel()
 {
     ChangePasswordModel = new ChangePasswordModel();
     EditMainInfoModel = new EditMainInfoModel();
     EditAdvanceInfoModel = new EditAdvanceInfoModel();
     EditBindInfoModel = new EditBindInfoModel();
 }
 public ActionResult ChangePassword(ChangePasswordModel model)
 {
     if (ModelIsValid)
         Execute(() => _accountService.ChangePassword(model.OldPassword, model.NewPassword, model.UserId));
     return View("_ChangePasswordPartial", model);
 }